llvm-project/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll
Fangrui Song 171056ff57 [M68k,MSP430,test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-15 10:09:30 -08:00

12 lines
235 B
LLVM

; RUN: llc < %s -mtriple=msp430
define i16 @test(double %d) nounwind {
entry:
%add = fadd double %d, 1.000000e+00
%call = tail call i16 @funct(double %add) nounwind
ret i16 %call
}
declare i16 @funct(double)