blob: 8daebe92047343f65fb6e2e972e99a74016b5995 [file] [edit]
; RUN: not --crash llc < %s -mtriple=nvptx64 2>&1 | FileCheck %s
declare float @llvm.powi.f32.i32(float, i32)
; CHECK: LLVM ERROR: Cannot select: {{.*}}: f32 = fpow
; CHECK: In function: test_powi
define float @test_powi(float %a, i32 %b) {
%r = call float @llvm.powi.f32.i32(float %a, i32 %b)
ret float %r
}