mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
9380d5daff
DomainValues that are only used by "don't care" instructions are now collapsed to the first possible execution domain after all basic blocks have been processed. This typically means the PS domain on x86. For example, the vsel_i64 and vsel_double functions in sse2-blend.ll are completely collapsed to the PS domain instead of containing a mix of execution domains created by isel. llvm-svn: 144037
16 lines
397 B
LLVM
16 lines
397 B
LLVM
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
|
|
; CHECK-NOT: movapd
|
|
; CHECK: movaps
|
|
; CHECK-NOT: movapd
|
|
; CHECK: movaps
|
|
; CHECK-NOT: movap
|
|
|
|
define void @foo(<4 x float>* %p, <4 x float> %x) nounwind {
|
|
store <4 x float> %x, <4 x float>* %p
|
|
ret void
|
|
}
|
|
define void @bar(<2 x double>* %p, <2 x double> %x) nounwind {
|
|
store <2 x double> %x, <2 x double>* %p
|
|
ret void
|
|
}
|