llvm/test/CodeGen/ARM/fpowi.ll
Saleem Abdulrasool f40c74a0fe test: modernise ARM CodeGen tests
Replace the use of grep with FileCheck.  Tidy up some of the tests.  A
few of the tests have been left as weak as previously, though some have
been made more stringent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290616 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-27 18:35:19 +00:00

18 lines
498 B
LLVM

; RUN: llc -mtriple arm-unknown-linux-gnueabi -filetype asm -o - %s | FileCheck %s
; 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"
target triple = "arm-unknown-linux-gnueabi"
declare double @llvm.powi.f64(double, i32)
define double @_ZSt3powdi(double %__x, i32 %__i) {
entry:
%tmp3 = call double @llvm.powi.f64(double %__x, i32 %__i)
ret double %tmp3
}
; CHECK: bl __powidf2