Paul Robinson f4eb87f403 [NVPTX] Convert tests to check 'target=nvptx.*'
Part of the project to eliminate special handling for triples in lit
expressions.
2022-12-01 09:01:48 -08:00

15 lines
305 B
LLVM

; RUN: llc < %s
; PR1239
; Undefined external symbol "__powisf2"
; XFAIL: target=nvptx{{.*}}
define float @test(float %tmp23302331, i32 %tmp23282329 ) {
%tmp2339 = call float @llvm.powi.f32.i32( float %tmp23302331, i32 %tmp23282329 )
ret float %tmp2339
}
declare float @llvm.powi.f32.i32(float,i32)