Make this testcase independent of register allocation.
authorOwen Anderson <resistor@mac.com>
Thu, 31 May 2012 18:07:02 +0000 (18:07 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 31 May 2012 18:07:02 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157761 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/fusedMAC.ll

index da0789ec3e5fb44712c9309090089635046ec01b..3bf1ef4ad261091d218291a0d551532162a8ab8c 100644 (file)
@@ -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
 }