mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
02b2fbee0d
llvm-svn: 201479
14 lines
332 B
LLVM
14 lines
332 B
LLVM
; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
|
|
|
|
;CHECK-LABEL: test:
|
|
;CHECK-NOT: pshufd
|
|
;CHECK: ret
|
|
define float @test(<4 x float>* %A) nounwind {
|
|
entry:
|
|
%T = load <4 x float>* %A
|
|
%R = extractelement <4 x float> %T, i32 3
|
|
store <4 x float><float 0.0, float 0.0, float 0.0, float 0.0>, <4 x float>* %A
|
|
ret float %R
|
|
}
|
|
|