mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 13:06:56 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
46 lines
2.2 KiB
LLVM
46 lines
2.2 KiB
LLVM
; RUN: llc < %s -march=x86 -mattr=+sse2 | grep addss | not grep esp
|
|
|
|
define fastcc void @fht(float* %fz, i16 signext %n) {
|
|
entry:
|
|
br i1 true, label %bb171.preheader, label %bb431
|
|
|
|
bb171.preheader: ; preds = %entry
|
|
%tmp176 = fadd float 0.000000e+00, 1.000000e+00 ; <float> [#uses=2]
|
|
%gi.1 = getelementptr float* %fz, i32 0 ; <float*> [#uses=2]
|
|
%tmp240 = load float* %gi.1, align 4 ; <float> [#uses=1]
|
|
%tmp242 = fsub float %tmp240, 0.000000e+00 ; <float> [#uses=2]
|
|
%tmp251 = getelementptr float* %fz, i32 0 ; <float*> [#uses=1]
|
|
%tmp252 = load float* %tmp251, align 4 ; <float> [#uses=1]
|
|
%tmp258 = getelementptr float* %fz, i32 0 ; <float*> [#uses=2]
|
|
%tmp259 = load float* %tmp258, align 4 ; <float> [#uses=2]
|
|
%tmp261 = fmul float %tmp259, %tmp176 ; <float> [#uses=1]
|
|
%tmp262 = fsub float 0.000000e+00, %tmp261 ; <float> [#uses=2]
|
|
%tmp269 = fmul float %tmp252, %tmp176 ; <float> [#uses=1]
|
|
%tmp276 = fmul float %tmp259, 0.000000e+00 ; <float> [#uses=1]
|
|
%tmp277 = fadd float %tmp269, %tmp276 ; <float> [#uses=2]
|
|
%tmp281 = getelementptr float* %fz, i32 0 ; <float*> [#uses=1]
|
|
%tmp282 = load float* %tmp281, align 4 ; <float> [#uses=2]
|
|
%tmp284 = fsub float %tmp282, %tmp277 ; <float> [#uses=1]
|
|
%tmp291 = fadd float %tmp282, %tmp277 ; <float> [#uses=1]
|
|
%tmp298 = fsub float 0.000000e+00, %tmp262 ; <float> [#uses=1]
|
|
%tmp305 = fadd float 0.000000e+00, %tmp262 ; <float> [#uses=1]
|
|
%tmp315 = fmul float 0.000000e+00, %tmp291 ; <float> [#uses=1]
|
|
%tmp318 = fmul float 0.000000e+00, %tmp298 ; <float> [#uses=1]
|
|
%tmp319 = fadd float %tmp315, %tmp318 ; <float> [#uses=1]
|
|
%tmp329 = fadd float 0.000000e+00, %tmp319 ; <float> [#uses=1]
|
|
store float %tmp329, float* null, align 4
|
|
%tmp336 = fsub float %tmp242, 0.000000e+00 ; <float> [#uses=1]
|
|
store float %tmp336, float* %tmp258, align 4
|
|
%tmp343 = fadd float %tmp242, 0.000000e+00 ; <float> [#uses=1]
|
|
store float %tmp343, float* null, align 4
|
|
%tmp355 = fmul float 0.000000e+00, %tmp305 ; <float> [#uses=1]
|
|
%tmp358 = fmul float 0.000000e+00, %tmp284 ; <float> [#uses=1]
|
|
%tmp359 = fadd float %tmp355, %tmp358 ; <float> [#uses=1]
|
|
%tmp369 = fadd float 0.000000e+00, %tmp359 ; <float> [#uses=1]
|
|
store float %tmp369, float* %gi.1, align 4
|
|
ret void
|
|
|
|
bb431: ; preds = %entry
|
|
ret void
|
|
}
|