bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/fast-isel-disable-tail-calls.ll

10 lines
219 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc -O0 -fast-isel -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
; CHECK-NOT: retq
; CHECK: jmpq
define void @f(ptr %this) "disable-tail-calls"="true" {
musttail call void %this(ptr %this)
ret void
}