We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7dfa5 commit d53435bCopy full SHA for d53435b
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
@@ -1128,9 +1128,10 @@ bool AMDGPUCallLowering::isEligibleForTailCallOptimization(
1128
}
1129
1130
// If we have -tailcallopt, then we're done.
1131
- if (MF.getTarget().Options.GuaranteedTailCallOpt)
+ if (MF.getTarget().Options.GuaranteedTailCallOpt) {
1132
return AMDGPU::canGuaranteeTCO(CalleeCC) &&
1133
CalleeCC == CallerF.getCallingConv();
1134
+ }
1135
1136
// Verify that the incoming and outgoing arguments from the callee are
1137
// safe to tail call.
0 commit comments