view test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children afa8332a0e37
line wrap: on
line source

; RUN: llc < %s -march=x86 -mcpu=penryn | FileCheck %s

define void @a(<4 x float>* %x) nounwind  {
entry:
        %tmp2 = load <4 x float>* %x, align 1
        %inv = call <4 x float> @llvm.x86.sse.rcp.ps(<4 x float> %tmp2)
        store <4 x float> %inv, <4 x float>* %x, align 1
        ret void
}

; CHECK-LABEL: a:
; CHECK: movups
; CHECK: movups
; CHECK-NOT: movups
; CHECK: ret

declare <4 x float> @llvm.x86.sse.rcp.ps(<4 x float>)