summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fusedMAC.ll
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
commitea001225c1f4a9452e846cb7866b432548ea551c (patch)
tree0d5bfa98ccaafaf5cc14c737e41a4eaf8e1c7d41 /llvm/test/CodeGen/ARM/fusedMAC.ll
parent3fe3f857699f03e9534b5e23aaa90638a6ff7360 (diff)
downloadbcm5719-llvm-ea001225c1f4a9452e846cb7866b432548ea551c.tar.gz
bcm5719-llvm-ea001225c1f4a9452e846cb7866b432548ea551c.zip
Fix the order of the operands in the llvm.fma intrinsic patterns for ARM,
<rdar://problem/11325085>. llvm-svn: 155724
Diffstat (limited to 'llvm/test/CodeGen/ARM/fusedMAC.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fusedMAC.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/fusedMAC.ll b/llvm/test/CodeGen/ARM/fusedMAC.ll
index 802d1b8b393..1ad7ce18ea1 100644
--- a/llvm/test/CodeGen/ARM/fusedMAC.ll
+++ b/llvm/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 {
OpenPOWER on IntegriCloud