mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
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
This commit is contained in:
parent
a80d2bd89c
commit
f2c7af2cb0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user