Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/X86/2011-05-09-loaduse.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
rev | line source |
---|---|
0 | 1 ; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s |
2 | |
3 ;CHECK-LABEL: test: | |
77 | 4 ;CHECK-NOT: pshufd |
0 | 5 ;CHECK: ret |
6 define float @test(<4 x float>* %A) nounwind { | |
7 entry: | |
8 %T = load <4 x float>* %A | |
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 | |
11 ret float %R | |
12 } | |
13 |