Sign in
llvm
/
llvm-project
/
461274b81d8641eab64d494accddc81d7db8a09e
/
.
/
llvm
/
test
/
CodeGen
/
MSP430
/
flt_rounds.ll
blob: 25902a3a422a9a4b9851a0b5b7c2eafe885c6bd9 [
file
] [
log
] [
blame
]
; 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