diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-07-15 02:44:49 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-07-15 02:44:49 +0000 |
commit | ee9447cc0e11fe5986bb6ca3492df07a8c296702 (patch) | |
tree | e69ee7ad63d62addd15fa1250d40ca577d9dccb2 /llvm/test/CodeGen/X86 | |
parent | 4e3ccc0505a59effce209f47a89cd6f5950884b7 (diff) | |
download | bcm5719-llvm-ee9447cc0e11fe5986bb6ca3492df07a8c296702.tar.gz bcm5719-llvm-ee9447cc0e11fe5986bb6ca3492df07a8c296702.zip |
Relax tests expecting to see CPI symbols
WinCOFF doesn't use CPI symbols, it has a different scheme for naming
constant pool entries. Update tests to handle either appearing.
llvm-svn: 213039
Diffstat (limited to 'llvm/test/CodeGen/X86')
-rw-r--r-- | llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll | 3 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/vec_return.ll | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll b/llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll index d2d5149de3a..13d0bb61184 100644 --- a/llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll +++ b/llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll @@ -1,5 +1,6 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 | grep xor | grep CPI +; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s +; CHECK: xorpd {{.LCPI0_0|__xmm@}} define void @casin({ double, double }* sret %agg.result, double %z.0, double %z.1) nounwind { entry: %memtmp = alloca { double, double }, align 8 ; <{ double, double }*> [#uses=3] diff --git a/llvm/test/CodeGen/X86/vec_return.ll b/llvm/test/CodeGen/X86/vec_return.ll index 2cf5dc6caa7..f7fcd032cab 100644 --- a/llvm/test/CodeGen/X86/vec_return.ll +++ b/llvm/test/CodeGen/X86/vec_return.ll @@ -10,7 +10,7 @@ define <2 x double> @test() { ; Prefer a constant pool load here. ; CHECK: test2 ; CHECK-NOT: shuf -; CHECK: movaps {{.*}}CPI +; CHECK: movaps {{.*}}{{CPI|__xmm@}} define <4 x i32> @test2() nounwind { ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 > } |