llvm-6502/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll
Chris Lattner 2daba3bb1c Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5674 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:21:27 +00:00

16 lines
278 B
LLVM

; 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
}