bolt/deps/llvm-18.1.8/llvm/test/CodeGen/MSP430/flt_rounds.ll
2025-02-14 19:21:04 +01:00

10 lines
202 B
LLVM

; RUN: llc -verify-machineinstrs < %s -march=msp430
define i16 @foo() {
entry:
%0 = call i32 @llvm.get.rounding()
%1 = trunc i32 %0 to i16
ret i16 %1
}
declare i32 @llvm.get.rounding() nounwind