projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a logic bug in x86 vector codegen: sext (zext (x) ) != sext (x) (PR20472).
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
peep-test-3.ll
diff --git
a/test/CodeGen/X86/peep-test-3.ll
b/test/CodeGen/X86/peep-test-3.ll
index 528c4bcc74df5a8461c2e0abd2bc5810d04acf49..b3d4f585f45df50f3b3490dbadee6e4d9273b47b 100644
(file)
--- a/
test/CodeGen/X86/peep-test-3.ll
+++ b/
test/CodeGen/X86/peep-test-3.ll
@@
-1,9
+1,9
@@
-; RUN: llc < %s -march=x86 -post-RA-scheduler=false | FileCheck %s
+; RUN: llc < %s -m
cpu=generic -m
arch=x86 -post-RA-scheduler=false | FileCheck %s
; rdar://7226797
; LLVM should omit the testl and use the flags result from the orl.
; rdar://7226797
; LLVM should omit the testl and use the flags result from the orl.
-; CHECK: or:
+; CHECK
-LABEL
: or:
define void @or(float* %A, i32 %IA, i32 %N) nounwind {
entry:
%0 = ptrtoint float* %A to i32 ; <i32> [#uses=1]
define void @or(float* %A, i32 %IA, i32 %N) nounwind {
entry:
%0 = ptrtoint float* %A to i32 ; <i32> [#uses=1]
@@
-22,7
+22,7
@@
bb: ; preds = %entry
return: ; preds = %entry
ret void
}
return: ; preds = %entry
ret void
}
-; CHECK: xor:
+; CHECK
-LABEL
: xor:
define void @xor(float* %A, i32 %IA, i32 %N) nounwind {
entry:
%0 = ptrtoint float* %A to i32 ; <i32> [#uses=1]
define void @xor(float* %A, i32 %IA, i32 %N) nounwind {
entry:
%0 = ptrtoint float* %A to i32 ; <i32> [#uses=1]
@@
-41,7
+41,7
@@
bb: ; preds = %entry
return: ; preds = %entry
ret void
}
return: ; preds = %entry
ret void
}
-; CHECK: and:
+; CHECK
-LABEL
: and:
define void @and(float* %A, i32 %IA, i32 %N, i8* %p) nounwind {
entry:
store i8 0, i8* %p
define void @and(float* %A, i32 %IA, i32 %N, i8* %p) nounwind {
entry:
store i8 0, i8* %p
@@
-67,7
+67,7
@@
return: ; preds = %entry
; Just like @and, but without the trunc+store. This should use a testb
; instead of an andl.
; Just like @and, but without the trunc+store. This should use a testb
; instead of an andl.
-; CHECK: test:
+; CHECK
-LABEL
: test:
define void @test(float* %A, i32 %IA, i32 %N, i8* %p) nounwind {
entry:
store i8 0, i8* %p
define void @test(float* %A, i32 %IA, i32 %N, i8* %p) nounwind {
entry:
store i8 0, i8* %p