mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
b26c7727c9
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144037 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|