[ARM] When a bitcast is about to be turned into a VMOVDRR, try to combine it
[oota-llvm.git] / test / CodeGen / ARM / fpowi.ll
index 174106bf4fafb779b0d133952b4e1d941b842da2..561463720c808e7b55b4b8cd3da5b7043d1d7c07 100644 (file)
@@ -3,13 +3,12 @@
 
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
-target triple = "arm-linux-gnueabi"
+target triple = "arm-unknown-linux-gnueabi"
 
 define double @_ZSt3powdi(double %__x, i32 %__i) {
 entry:
-       %tmp3 = call double @llvm.powi.f64( double 0.000000e+00, i32 0 )                ; <double> [#uses=1]
-       store double %tmp3, double* null, align 8
-       unreachable
+       %tmp3 = call double @llvm.powi.f64( double %__x, i32 %__i )
+        ret double %tmp3
 }
 
 declare double @llvm.powi.f64(double, i32)