blob: d8657a1294d309327177f6bcc3b5db623b261c55 [file] [edit]
// RUN: fir-opt --function-attr="disable-tail-calls=true" %s | FileCheck %s --check-prefix=ENABLED
// RUN: fir-opt --function-attr="disable-tail-calls=false" %s | FileCheck %s --check-prefix=DISABLED
func.func @_QPf() {
return
}
// ENABLED: func.func @_QPf() attributes {llvm.disable_tail_calls = true}
// DISABLED: func.func @_QPf()
// DISABLED-NOT: llvm.disable_tail_calls