aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/ARM/powi-soften-libcall-error.ll
blob: 1feb544d42e7452c855802758f26b3f6df057503 (plain)
1
2
3
4
5
6
7
8
; RUN: not llc -mtriple=arm-linux-gnu -float-abi=soft -filetype=null %s 2>&1 | FileCheck %s

; FIXME: This should not fail but isn't implemented
; CHECK: error: powi exponent does not match sizeof(int)
define float @soften_powi_error(float %x, i64 %n) {
  %powi = call float @llvm.powi.f32.i64(float %x, i64 %n)
  ret float %powi
}