• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not --crash llc < %s -march=nvptx 2>&1 | FileCheck %s
2; used to seqfault and now fails with an "Undefined external symbol"
3
4; CHECK: LLVM ERROR: Undefined external symbol "__powidf2"
5define double @powi(double, i32) {
6  %a = call double @llvm.powi.f64(double %0, i32 %1)
7  ret double %a
8}
9
10declare double @llvm.powi.f64(double, i32) nounwind readnone
11