You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
358 B
11 lines
358 B
4 months ago
|
; RUN: not --crash llc < %s -march=nvptx 2>&1 | FileCheck %s
|
||
|
; used to seqfault and now fails with an "Undefined external symbol"
|
||
|
|
||
|
; CHECK: LLVM ERROR: Undefined external symbol "__powidf2"
|
||
|
define double @powi(double, i32) {
|
||
|
%a = call double @llvm.powi.f64(double %0, i32 %1)
|
||
|
ret double %a
|
||
|
}
|
||
|
|
||
|
declare double @llvm.powi.f64(double, i32) nounwind readnone
|