summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-04-27 18:51:24 +0000
committerLang Hames <lhames@gmail.com>2012-04-27 18:51:24 +0000
commit7787800481ad854eed5d976778dd493eb49bfaf9 (patch)
tree8536f1c2d9456898b91ce0eab102f8f3f4f05dcf /test
parent5dde20bfacdad9bc3ddc99eff93d52ed54312ed9 (diff)
downloadllvm-7787800481ad854eed5d976778dd493eb49bfaf9.tar.gz
llvm-7787800481ad854eed5d976778dd493eb49bfaf9.tar.bz2
llvm-7787800481ad854eed5d976778dd493eb49bfaf9.tar.xz
Fix the order of the operands in the llvm.fma intrinsic patterns for ARM,
<rdar://problem/11325085>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/fusedMAC.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/fusedMAC.ll b/test/CodeGen/ARM/fusedMAC.ll
index 802d1b8b39..1ad7ce18ea 100644
--- a/test/CodeGen/ARM/fusedMAC.ll
+++ b/test/CodeGen/ARM/fusedMAC.ll
@@ -138,8 +138,7 @@ entry:
; CHECK: vfms.f64
%tmp1 = fsub double -0.0, %b
%tmp2 = tail call double @llvm.fma.f64(double %a, double %tmp1, double %c) nounwind readnone
- %tmp3 = fsub double -0.0, %tmp2
- ret double %tmp3
+ ret double %tmp2
}
define double @test_fnms_f64(double %a, double %b, double %c) nounwind readnone ssp {
@@ -158,7 +157,8 @@ entry:
; CHECK: vfnms.f64
%tmp1 = fsub double -0.0, %b
%tmp2 = tail call double @llvm.fma.f64(double %a, double %tmp1, double %c) nounwind readnone
- ret double %tmp2
+ %tmp3 = fsub double -0.0, %tmp2
+ ret double %tmp3
}
define double @test_fnma_f64(double %a, double %b, double %c) nounwind readnone ssp {