projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a80d2bd
)
tweak test to accept the (good) code emitted by the pattern isel
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 05:54:27 +0000
(
05:54
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 05:54:27 +0000
(
05:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21812
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/commute-two-addr.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/commute-two-addr.ll
b/test/CodeGen/X86/commute-two-addr.ll
index 860c15979080b9436ed7b57c02898ca5ece1a042..5f6baf4402d054ce61181ef2226f2c4ac5a66407 100644
(file)
--- a/
test/CodeGen/X86/commute-two-addr.ll
+++ b/
test/CodeGen/X86/commute-two-addr.ll
@@
-1,8
+1,8
@@
; The register allocator can commute two-address instructions to avoid
; insertion of register-register copies.
-;
Check that there are no register-register copies left.
-; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel |
not grep 'mov %E.X, %E.X'
+;
Make sure there are only 3 mov's for each testcase
+; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel |
grep 'mov ' | wc -l | grep 6
%G = external global int