xref: /aosp_15_r20/external/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=msp430
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine i16 @test(double %d) nounwind {
4*9880d681SAndroid Build Coastguard Workerentry:
5*9880d681SAndroid Build Coastguard Worker        %add = fadd double %d, 1.000000e+00
6*9880d681SAndroid Build Coastguard Worker        %call = tail call i16 @funct(double %add) nounwind
7*9880d681SAndroid Build Coastguard Worker        ret i16 %call
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdeclare i16 @funct(double)
11*9880d681SAndroid Build Coastguard Worker
12