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

llvm-svn: 21812
This commit is contained in:
Chris Lattner 2005-05-09 05:54:27 +00:00
parent daa064d8fd
commit a7fc3d9119
1 changed files with 2 additions and 2 deletions

View File

@ -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