summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/fusedMAC.ll
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-05-31 18:07:02 +0000
committerOwen Anderson <resistor@mac.com>2012-05-31 18:07:02 +0000
commita835f00702328df8da968d27b2d5849078ed77e6 (patch)
treeadb8cc3d4347d07b18a27aebd55f6bad803e9e35 /test/CodeGen/ARM/fusedMAC.ll
parentee66b417efcf4469dcd9f9ab3f503d27ec66f804 (diff)
downloadllvm-a835f00702328df8da968d27b2d5849078ed77e6.tar.gz
llvm-a835f00702328df8da968d27b2d5849078ed77e6.tar.bz2
llvm-a835f00702328df8da968d27b2d5849078ed77e6.tar.xz
Make this testcase independent of register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fusedMAC.ll')
-rw-r--r--test/CodeGen/ARM/fusedMAC.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/fusedMAC.ll b/test/CodeGen/ARM/fusedMAC.ll
index da0789ec3e..3bf1ef4ad2 100644
--- a/test/CodeGen/ARM/fusedMAC.ll
+++ b/test/CodeGen/ARM/fusedMAC.ll
@@ -191,8 +191,8 @@ define float @test_fma_const_fold(float %a, float %b) nounwind {
define float @test_fma_canonicalize(float %a, float %b) nounwind {
; CHECK: test_fma_canonicalize
-; CHECK: vmov.f32 s0
-; CHECK: vfma.f32 s2, s1, s0
+; CHECK: vmov.f32 [[R1:s[0-9]+]], #2.000000e+00
+; CHECK: vfma.f32 {{s[0-9]+}}, {{s[0-9]+}}, [[R1]]
%ret = call float @llvm.fma.f32(float 2.0, float %a, float %b)
ret float %ret
}