summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit893d3d336a8a897f0d0aa28f8ddd26dad2cb15d2 (patch)
treef7a4deaec7b89442e57bee726bf3f1dffa24c90f /llvm
parent6693fbe3ebe4f34c10c0e5dc1164cf7e583dc02d (diff)
downloadbcm5719-llvm-893d3d336a8a897f0d0aa28f8ddd26dad2cb15d2.tar.gz
bcm5719-llvm-893d3d336a8a897f0d0aa28f8ddd26dad2cb15d2.zip
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. llvm-svn: 160274
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/epilogue.ll6
-rw-r--r--llvm/test/CodeGen/X86/widen_arith-3.ll1
2 files changed, 4 insertions, 3 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)
diff --git a/llvm/test/CodeGen/X86/widen_arith-3.ll b/llvm/test/CodeGen/X86/widen_arith-3.ll
index f55b184f3ac..d86042a4480 100644
--- a/llvm/test/CodeGen/X86/widen_arith-3.ll
+++ b/llvm/test/CodeGen/X86/widen_arith-3.ll
@@ -2,7 +2,6 @@
; CHECK: incl
; CHECK: incl
; CHECK: incl
-; CHECK: addl
; Widen a v3i16 to v8i16 to do a vector add
OpenPOWER on IntegriCloud