aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/epilogue.ll
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-07-16 14:33:36 +0000
committerAlexey Samsonov <samsonov@google.com>2012-07-16 14:33:36 +0000
commite0f5aedf97b9e015404d92a1354aefbd8b0af07a (patch)
tree8bbffc00f9740f4576b23995086d3f5ecf124afa /test/CodeGen/X86/epilogue.ll
parent2015236dfcd40f0b93e7d9f6dc4c380dc88bf3c0 (diff)
downloadexternal_llvm-e0f5aedf97b9e015404d92a1354aefbd8b0af07a.zip
external_llvm-e0f5aedf97b9e015404d92a1354aefbd8b0af07a.tar.gz
external_llvm-e0f5aedf97b9e015404d92a1354aefbd8b0af07a.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/epilogue.ll')
-rw-r--r--test/CodeGen/X86/epilogue.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/epilogue.ll b/test/CodeGen/X86/epilogue.ll
index 7ab10a5..090680e 100644
--- a/test/CodeGen/X86/epilogue.ll
+++ b/test/CodeGen/X86/epilogue.ll
@@ -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)