forked from OSchip/llvm-project
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
This commit is contained in:
parent
4e3ccc0505
commit
ee9447cc0e
|
@ -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 {
|
define void @casin({ double, double }* sret %agg.result, double %z.0, double %z.1) nounwind {
|
||||||
entry:
|
entry:
|
||||||
%memtmp = alloca { double, double }, align 8 ; <{ double, double }*> [#uses=3]
|
%memtmp = alloca { double, double }, align 8 ; <{ double, double }*> [#uses=3]
|
||||||
|
|
|
@ -10,7 +10,7 @@ define <2 x double> @test() {
|
||||||
; Prefer a constant pool load here.
|
; Prefer a constant pool load here.
|
||||||
; CHECK: test2
|
; CHECK: test2
|
||||||
; CHECK-NOT: shuf
|
; CHECK-NOT: shuf
|
||||||
; CHECK: movaps {{.*}}CPI
|
; CHECK: movaps {{.*}}{{CPI|__xmm@}}
|
||||||
define <4 x i32> @test2() nounwind {
|
define <4 x i32> @test2() nounwind {
|
||||||
ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
|
ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue