summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcallfp.ll
blob: f6149351038b3243cc98379ce8895794f474e4dc (plain)
1
2
3
4
5
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -tailcallopt | not grep call
define fastcc i32 @bar(i32 %X, i32(double, i32) *%FP) {
     %Y = tail call fastcc i32 %FP(double 0.0, i32 %X)
     ret i32 %Y
}