brintos

brintos / llvm-project-archived public Read only

0
0
Text · 599 B · b0fbdc6 Raw
17 lines · plain
1; RUN: not llc -mtriple=msp430 -filetype=null %s 2>&1 | FileCheck %s2 3; FIXME: This should not fail but isn't implemented4; CHECK: error: powi exponent does not match sizeof(int)5define float @soften_powi_error(float %x, i32 %n) {6  %powi = call float @llvm.powi.f32.i32(float %x, i32 %n)7  ret float %powi8}9 10; CHECK: error: powi exponent does not match sizeof(int)11define float @soften_powi_error_strictfp(float %x, i32 %n) strictfp {12 %powi = call float @llvm.experimental.constrained.powi.f32.i32(float %x, i32 %n, metadata !"round.tonearest", metadata !"fpexcept.strict")13  ret float %powi14}15 16 17