Skip to content

Commit d53435b

Browse files
committed
Braces
1 parent fe7dfa5 commit d53435b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,9 +1128,10 @@ bool AMDGPUCallLowering::isEligibleForTailCallOptimization(
11281128
}
11291129

11301130
// If we have -tailcallopt, then we're done.
1131-
if (MF.getTarget().Options.GuaranteedTailCallOpt)
1131+
if (MF.getTarget().Options.GuaranteedTailCallOpt) {
11321132
return AMDGPU::canGuaranteeTCO(CalleeCC) &&
11331133
CalleeCC == CallerF.getCallingConv();
1134+
}
11341135

11351136
// Verify that the incoming and outgoing arguments from the callee are
11361137
// safe to tail call.

0 commit comments

Comments
 (0)