Skip to content

Commit 18c8ba8

Browse files
committed
address comment
1 parent 1dbfb70 commit 18c8ba8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9014,12 +9014,12 @@ static void checkAddrSpaceIsValidForLibcall(const TargetLowering *TLI,
90149014

90159015
static bool isInTailCallPositionWrapper(const CallInst *CI,
90169016
const SelectionDAG *SelDAG,
9017-
bool IsLowerToLibCall) {
9017+
bool AllowReturnsFirstArg) {
90189018

90199019
return CI && CI->isTailCall() &&
90209020
isInTailCallPosition(*CI, SelDAG->getTarget(),
9021-
funcReturnsFirstArgOfCall(*CI) &&
9022-
IsLowerToLibCall);
9021+
AllowReturnsFirstArg &&
9022+
funcReturnsFirstArgOfCall(*CI));
90239023
}
90249024

90259025
std::pair<SDValue, SDValue>

0 commit comments

Comments
 (0)