[llvm-commits] [llvm] r91214 - in /llvm/trunk/test/Transforms: DeadStoreElimination/const-pointers.ll InstCombine/compare-signs.ll
Benjamin Kramer
benny.kra at googlemail.com
Sat Dec 12 01:25:51 PST 2009
Author: d0k
Date: Sat Dec 12 03:25:50 2009
New Revision: 91214
URL: http://llvm.org/viewvc/llvm-project?rev=91214&view=rev
Log:
Fix some CHECK lines which were ignored by accident.
Modified:
llvm/trunk/test/Transforms/DeadStoreElimination/const-pointers.ll
llvm/trunk/test/Transforms/InstCombine/compare-signs.ll
Modified: llvm/trunk/test/Transforms/DeadStoreElimination/const-pointers.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/DeadStoreElimination/const-pointers.ll?rev=91214&r1=91213&r2=91214&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/DeadStoreElimination/const-pointers.ll (original)
+++ llvm/trunk/test/Transforms/DeadStoreElimination/const-pointers.ll Sat Dec 12 03:25:50 2009
@@ -11,7 +11,7 @@
%x = load i32* inttoptr (i32 12345 to i32*)
store i32 %x, i32* %p
ret void
-; CHECK define void @test1
+; CHECK: define void @test1
; CHECK: store
; CHECK-NOT: store
; CHECK: ret void
@@ -21,10 +21,10 @@
store i32 1, i32* @g; <-- This is dead.
store i32 42, i32* @g
ret void
-;CHECK define void @test3
-;CHECK: store
-;CHECK-NOT: store
-;CHECK: ret void
+; CHECK: define void @test3
+; CHECK: store
+; CHECK-NOT: store
+; CHECK: ret void
}
define void @test4(i32* %p) {
@@ -32,7 +32,7 @@
%x = load i32* @g; <-- %p and @g could alias
store i32 %x, i32* %p
ret void
-; CHECK define void @test4
+; CHECK: define void @test4
; CHECK: store
; CHECK: store
; CHECK: ret void
Modified: llvm/trunk/test/Transforms/InstCombine/compare-signs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/compare-signs.ll?rev=91214&r1=91213&r2=91214&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/compare-signs.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/compare-signs.ll Sat Dec 12 03:25:50 2009
@@ -25,7 +25,7 @@
; CHECK: @test3
entry:
; CHECK: xor i32 %a, %b
-; CHECK; lshr i32 %0, 31
+; CHECK: lshr i32 %0, 31
; CHECK: xor i32 %1, 1
%0 = lshr i32 %a, 31 ; <i32> [#uses=1]
%1 = lshr i32 %b, 31 ; <i32> [#uses=1]
@@ -43,7 +43,7 @@
; CHECK: @test3i
entry:
; CHECK: xor i32 %a, %b
-; CHECK; lshr i32 %0, 31
+; CHECK: lshr i32 %0, 31
; CHECK: xor i32 %1, 1
%0 = lshr i32 %a, 29 ; <i32> [#uses=1]
%1 = lshr i32 %b, 29 ; <i32> [#uses=1]
More information about the llvm-commits
mailing list