llvm.org GIT mirror llvm / f2c7af2
tweak test to accept the (good) code emitted by the pattern isel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21812 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ; The register allocator can commute two-address instructions to avoid
11 ; insertion of register-register copies.
22
3 ; Check that there are no register-register copies left.
4 ; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | not grep 'mov %E.X, %E.X'
3 ; Make sure there are only 3 mov's for each testcase
4 ; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | grep 'mov ' | wc -l | grep 6
55
66 %G = external global int
77