projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed to test attributes and use better checks
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2007-08-01-LiveVariablesBug.ll
diff --git
a/test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
b/test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
index 8eda0ab9bc4ea2cff4e5b8013efdced4be345561..4f7ae327d1fdd712da71088144133fe1ca08e905 100644
(file)
--- a/
test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
+++ b/
test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
@@
-1,6
+1,8
@@
-; RUN: ll
vm-as < %s | llc -march=x86 | not grep movl
+; RUN: ll
c < %s -march=x86 | FileCheck %s
-define i8 @t(i8 zeroext %x, i8 zeroext %y) zeroext {
+; CHECK-NOT: movl
+
+define zeroext i8 @t(i8 zeroext %x, i8 zeroext %y) {
%tmp2 = add i8 %x, 2
%tmp4 = add i8 %y, -2
%tmp5 = mul i8 %tmp4, %tmp2
%tmp2 = add i8 %x, 2
%tmp4 = add i8 %y, -2
%tmp5 = mul i8 %tmp4, %tmp2