2016-12-28 02:35:19 +08:00
|
|
|
; RUN: llc -mtriple arm-unknown-linux-gnueabi -filetype asm -o - %s | FileCheck %s
|
2007-08-16 06:13:27 +08:00
|
|
|
; PR1287
|
|
|
|
|
|
|
|
; 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"
|
2010-08-30 18:48:29 +08:00
|
|
|
target triple = "arm-unknown-linux-gnueabi"
|
2007-08-16 06:13:27 +08:00
|
|
|
|
2016-12-28 02:35:19 +08:00
|
|
|
declare double @llvm.powi.f64(double, i32)
|
|
|
|
|
2007-08-16 06:13:27 +08:00
|
|
|
define double @_ZSt3powdi(double %__x, i32 %__i) {
|
|
|
|
entry:
|
2016-12-28 02:35:19 +08:00
|
|
|
%tmp3 = call double @llvm.powi.f64(double %__x, i32 %__i)
|
|
|
|
ret double %tmp3
|
2007-08-16 06:13:27 +08:00
|
|
|
}
|
|
|
|
|
2016-12-28 02:35:19 +08:00
|
|
|
; CHECK: bl __powidf2
|
2007-08-16 06:13:27 +08:00
|
|
|
|