[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/commute-two-addr.ll

Chris Lattner lattner at cs.uiuc.edu
Sun May 8 22:54:43 PDT 2005



Changes in directory llvm/test/Regression/CodeGen/X86:

commute-two-addr.ll updated: 1.1 -> 1.2
---
Log message:

tweak test to accept the (good) code emitted by the pattern isel


---
Diffs of the changes:  (+2 -2)

 commute-two-addr.ll |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/X86/commute-two-addr.ll
diff -u llvm/test/Regression/CodeGen/X86/commute-two-addr.ll:1.1 llvm/test/Regression/CodeGen/X86/commute-two-addr.ll:1.2
--- llvm/test/Regression/CodeGen/X86/commute-two-addr.ll:1.1	Sat Jan  1 20:30:04 2005
+++ llvm/test/Regression/CodeGen/X86/commute-two-addr.ll	Mon May  9 00:54:27 2005
@@ -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
 






More information about the llvm-commits mailing list