Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/2011-05-09-loaduse.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | afa8332a0e37 |
children | c2174574ed3a |
line wrap: on
line source
; RUN: llc < %s -mtriple=i686-- -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>, <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 }