[llvm-commits] [llvm] r160274 - in /llvm/trunk/test/CodeGen/X86: epilogue.ll widen_arith-3.ll

Alexey Samsonov samsonov at google.com
Mon Jul 16 07:33:36 PDT 2012


Author: samsonov
Date: Mon Jul 16 09:33:36 2012
New Revision: 160274

URL: http://llvm.org/viewvc/llvm-project?rev=160274&view=rev
Log:
Fix tests that failed on i686-win32 after r160248:
1. FileCheck-ize epilogue.ll and allow another asm instruction to restore %rsp.
2. Remove check in widen_arith-3.ll that was hitting instruction in epilogue instead of
vector add.

Modified:
    llvm/trunk/test/CodeGen/X86/epilogue.ll
    llvm/trunk/test/CodeGen/X86/widen_arith-3.ll

Modified: llvm/trunk/test/CodeGen/X86/epilogue.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/epilogue.ll?rev=160274&r1=160273&r2=160274&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/epilogue.ll (original)
+++ llvm/trunk/test/CodeGen/X86/epilogue.ll Mon Jul 16 09:33:36 2012
@@ -1,5 +1,7 @@
-; RUN: llc < %s -mcpu=generic -march=x86 | not grep lea
-; RUN: llc < %s -mcpu=generic -march=x86 | grep "movl	%ebp"
+; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
+
+; CHECK-NOT: lea{{.*}}(%esp)
+; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}}
 
 declare void @bar(<2 x i64>* %n)
 

Modified: llvm/trunk/test/CodeGen/X86/widen_arith-3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/widen_arith-3.ll?rev=160274&r1=160273&r2=160274&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/widen_arith-3.ll (original)
+++ llvm/trunk/test/CodeGen/X86/widen_arith-3.ll Mon Jul 16 09:33:36 2012
@@ -2,7 +2,6 @@
 ; CHECK: incl
 ; CHECK: incl
 ; CHECK: incl
-; CHECK: addl
 
 ; Widen a v3i16 to v8i16 to do a vector add
 





More information about the llvm-commits mailing list