comparison test/CodeGen/X86/2011-05-09-loaduse.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children 803732b1fca8
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
3 ;CHECK-LABEL: test: 3 ;CHECK-LABEL: test:
4 ;CHECK-NOT: pshufd 4 ;CHECK-NOT: pshufd
5 ;CHECK: ret 5 ;CHECK: ret
6 define float @test(<4 x float>* %A) nounwind { 6 define float @test(<4 x float>* %A) nounwind {
7 entry: 7 entry:
8 %T = load <4 x float>* %A 8 %T = load <4 x float>, <4 x float>* %A
9 %R = extractelement <4 x float> %T, i32 3 9 %R = extractelement <4 x float> %T, i32 3
10 store <4 x float><float 0.0, float 0.0, float 0.0, float 0.0>, <4 x float>* %A 10 store <4 x float><float 0.0, float 0.0, float 0.0, float 0.0>, <4 x float>* %A
11 ret float %R 11 ret float %R
12 } 12 }
13 13