diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-01 03:26:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-01 03:26:51 +0000 |
commit | 0fba8cf9ffbb4397d3ddbb51469c8819d0faf3cc (patch) | |
tree | 528fc89cf6572eb210c353d3d19d996bc30f52fe /test/CodeGen/ARM | |
parent | f9ead87c681204cf86f9575fc3f08fb4acbf7899 (diff) | |
download | external_llvm-0fba8cf9ffbb4397d3ddbb51469c8819d0faf3cc.zip external_llvm-0fba8cf9ffbb4397d3ddbb51469c8819d0faf3cc.tar.gz external_llvm-0fba8cf9ffbb4397d3ddbb51469c8819d0faf3cc.tar.bz2 |
Make this more likely to generate a libcall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/fpowi.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/ARM/fpowi.ll b/test/CodeGen/ARM/fpowi.ll index 174106b..7f9d62a 100644 --- a/test/CodeGen/ARM/fpowi.ll +++ b/test/CodeGen/ARM/fpowi.ll @@ -7,9 +7,8 @@ target triple = "arm-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) |