[llvm-commits] [llvm] r157761 - /llvm/trunk/test/CodeGen/ARM/fusedMAC.ll

Owen Anderson resistor at mac.com
Thu May 31 11:07:02 PDT 2012


Author: resistor
Date: Thu May 31 13:07:02 2012
New Revision: 157761

URL: http://llvm.org/viewvc/llvm-project?rev=157761&view=rev
Log:
Make this testcase independent of register allocation.

Modified:
    llvm/trunk/test/CodeGen/ARM/fusedMAC.ll

Modified: llvm/trunk/test/CodeGen/ARM/fusedMAC.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fusedMAC.ll?rev=157761&r1=157760&r2=157761&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fusedMAC.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fusedMAC.ll Thu May 31 13:07:02 2012
@@ -191,8 +191,8 @@
 
 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
 }





More information about the llvm-commits mailing list