Try to passify buildbot
[oota-llvm.git] / test / Transforms / LICM / hoisting.ll
index b4d297ac27bf9b86a4e81cec99ba040dd80088ba..8609407cc59948fc9651f491b33bb6129ee05cb4 100644 (file)
@@ -8,7 +8,7 @@ declare void @foo()
 ; potentially trapping instructions when they are not guaranteed to execute.
 define i32 @test1(i1 %c) {
 ; CHECK-LABEL: @test1(
-       %A = load i32* @X               ; <i32> [#uses=2]
+       %A = load i32, i32* @X          ; <i32> [#uses=2]
        br label %Loop
 Loop:          ; preds = %LoopTail, %0
        call void @foo( )
@@ -35,9 +35,9 @@ declare void @foo2(i32) nounwind
 ;; It is ok and desirable to hoist this potentially trapping instruction.
 define i32 @test2(i1 %c) {
 ; CHECK-LABEL: @test2(
-; CHECK-NEXT: load i32* @X
+; CHECK-NEXT: load i32, i32* @X
 ; CHECK-NEXT: %B = sdiv i32 4, %A
-       %A = load i32* @X               ; <i32> [#uses=2]
+       %A = load i32, i32* @X          ; <i32> [#uses=2]
        br label %Loop
 Loop:
         ;; Should have hoisted this div!
@@ -54,7 +54,7 @@ Out:          ; preds = %Loop
 define i32 @test3(i1 %c) {
 ; CHECK-LABEL: define i32 @test3(
 ; CHECK: call void @foo2(i32 6)
-       %A = load i32* @X               ; <i32> [#uses=2]
+       %A = load i32, i32* @X          ; <i32> [#uses=2]
        br label %Loop
 Loop:
        %B = add i32 4, 2               ; <i32> [#uses=2]