New testcase

llvm-svn: 5672
This commit is contained in:
Chris Lattner 2003-02-28 19:13:58 +00:00
parent a777f7a7ed
commit a55fad38d9
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
; Test that hoisting is disabled for pointers of different types...
;
; RUN: as < %s | opt -licm
void %test(int* %P) {
br label %Loop
Loop:
store int 5, int* %P
%P2 = cast int* %P to sbyte*
store sbyte 4, sbyte* %P2
br bool true, label %loop, label %Out
Out:
ret void
}