Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
[oota-llvm.git] / test / Transforms / LICM / 2003-02-28-PromoteDifferentType.ll
1 ; Test that hoisting is disabled for pointers of different types...
2 ;
3 ; RUN: llvm-as < %s | opt -licm
4
5 void %test(int* %P) {
6         br label %Loop
7 Loop:
8         store int 5, int* %P
9         %P2 = cast int* %P to sbyte*
10         store sbyte 4, sbyte* %P2
11         br bool true, label %Loop, label %Out
12 Out:
13         ret void
14 }
15