forked from OSchip/llvm-project
Fix some CHECK lines which were ignored by accident.
llvm-svn: 91214
This commit is contained in:
parent
fab31f47b2
commit
401e6093c9
|
@ -11,7 +11,7 @@ define void @test1(%t* noalias %pp) {
|
|||
%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 @@ define void @test3() {
|
|||
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 @@ define void @test4(i32* %p) {
|
|||
%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
|
||||
|
|
|
@ -25,7 +25,7 @@ define i32 @test3(i32 %a, i32 %b) nounwind readnone {
|
|||
; 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 @@ define i32 @test3i(i32 %a, i32 %b) nounwind readnone {
|
|||
; 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]
|
||||
|
|
Loading…
Reference in New Issue