summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/epilogue.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/epilogue.ll')
-rw-r--r--llvm/test/CodeGen/X86/epilogue.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/epilogue.ll b/llvm/test/CodeGen/X86/epilogue.ll
index 7ab10a58860..090680e48fe 100644
--- a/llvm/test/CodeGen/X86/epilogue.ll
+++ b/llvm/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)
OpenPOWER on IntegriCloud