64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
11 lines
199 B
LLVM
11 lines
199 B
LLVM
; RUN: llc -verify-machineinstrs < %s -march=msp430
|
|
|
|
define i16 @foo() {
|
|
entry:
|
|
%0 = call i32 @llvm.flt.rounds()
|
|
%1 = trunc i32 %0 to i16
|
|
ret i16 %1
|
|
}
|
|
|
|
declare i32 @llvm.flt.rounds() nounwind
|