
Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
18 lines
431 B
LLVM
18 lines
431 B
LLVM
; RUN: llc < %s -mtriple=i686-- -mcpu=penryn | FileCheck %s
|
|
|
|
define void @a(ptr %x) nounwind {
|
|
entry:
|
|
%tmp2 = load <4 x float>, ptr %x, align 1
|
|
%inv = call <4 x float> @llvm.x86.sse.rcp.ps(<4 x float> %tmp2)
|
|
store <4 x float> %inv, ptr %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>)
|