diff options
author | Michael Liao <michael.liao@intel.com> | 2013-04-30 07:51:08 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-04-30 07:51:08 +0000 |
commit | 8838410a75784c9ab248b652d450e2f872caa994 (patch) | |
tree | df1a8d2942b392edc1e4db8edcc2ee8dcb8fb15f /test/CodeGen/X86/2006-07-31-SingleRegClass.ll | |
parent | f65e4932f83ac0c36594d97fca73dc9a9fd26672 (diff) | |
download | llvm-8838410a75784c9ab248b652d450e2f872caa994.tar.gz llvm-8838410a75784c9ab248b652d450e2f872caa994.tar.bz2 llvm-8838410a75784c9ab248b652d450e2f872caa994.tar.xz |
Rewrite X86 codegen regression test with FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2006-07-31-SingleRegClass.ll')
-rw-r--r-- | test/CodeGen/X86/2006-07-31-SingleRegClass.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2006-07-31-SingleRegClass.ll b/test/CodeGen/X86/2006-07-31-SingleRegClass.ll index c5c74d1048..c4b08a3be2 100644 --- a/test/CodeGen/X86/2006-07-31-SingleRegClass.ll +++ b/test/CodeGen/X86/2006-07-31-SingleRegClass.ll @@ -1,7 +1,8 @@ ; PR850 -; RUN: llc < %s -march=x86 -x86-asm-syntax=att > %t -; RUN: grep "movl 4(%eax),%ebp" %t -; RUN: grep "movl 0(%eax), %ebx" %t +; RUN: llc < %s -march=x86 -x86-asm-syntax=att | FileCheck %s + +; CHECK: {{movl 4[(]%eax[)],%ebp}} +; CHECK: {{movl 0[(]%eax[)], %ebx}} define i32 @foo(i32 %__s.i.i, i32 %tmp5.i.i, i32 %tmp6.i.i, i32 %tmp7.i.i, i32 %tmp8.i.i) { %tmp9.i.i = call i32 asm sideeffect "push %ebp\0Apush %ebx\0Amovl 4($2),%ebp\0Amovl 0($2), %ebx\0Amovl $1,%eax\0Aint $$0x80\0Apop %ebx\0Apop %ebp", "={ax},i,0,{cx},{dx},{si},{di}"( i32 192, i32 %__s.i.i, i32 %tmp5.i.i, i32 %tmp6.i.i, i32 %tmp7.i.i, i32 %tmp8.i.i ) ; <i32> [#uses=1] |