view test/CodeGen/MSP430/flt_rounds.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

; 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