[llvm-commits] [llvm] r153704 - /llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll

Lang Hames lhames at gmail.com
Thu Mar 29 16:52:38 PDT 2012


Author: lhames
Date: Thu Mar 29 18:52:38 2012
New Revision: 153704

URL: http://llvm.org/viewvc/llvm-project?rev=153704&view=rev
Log:
Change the constant in this testcase so that it results in a constant pool
load.

Modified:
    llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll

Modified: llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll?rev=153704&r1=153703&r2=153704&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/widen-vmovs.ll Thu Mar 29 18:52:38 2012
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -widen-vmovs -mcpu=cortex-a8 -verify-machineinstrs | FileCheck %s
 target triple = "thumbv7-apple-ios"
 
-; The 0.0 constant is loaded from the constant pool and kept in a register.
+; The 1.0e+10 constant is loaded from the constant pool and kept in a register.
 ; CHECK: %entry
 ; CHECK: vldr s
 ; The float loop variable is initialized with a vmovs from the constant register.
@@ -24,8 +24,8 @@
   br label %for.body.i
 
 for.body.i:
-  %tmp3.i = phi float [ 0.000000e+00, %for.body4 ], [ %add.i, %for.body.i ]
-  %add.i = fadd float %tmp3.i, 0.000000e+00
+  %tmp3.i = phi float [ 1.000000e+10, %for.body4 ], [ %add.i, %for.body.i ]
+  %add.i = fadd float %tmp3.i, 1.000000e+10
   %exitcond.i = icmp eq i32 undef, 41
   br i1 %exitcond.i, label %rInnerproduct.exit, label %for.body.i
 





More information about the llvm-commits mailing list