Skip to content

Commit 2040961

Browse files
committed
Stop confusing people, it's not really a chain, or a tumor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121340 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2fe813a commit 2040961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6195,15 +6195,15 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const {
61956195
// Lowering the machine isd will make sure everything is in the right
61966196
// location.
61976197
SDValue Args[] = { Offset };
6198-
SDValue Chain = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1);
6198+
SDValue RetVal = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1);
61996199

62006200
// TLSCALL will be codegen'ed as call. Inform MFI that function has calls.
62016201
MachineFrameInfo *MFI = DAG.getMachineFunction().getFrameInfo();
62026202
MFI->setAdjustsStack(true);
62036203

62046204
// And our return value (tls address) is in the standard call return value
62056205
// location.
6206-
return Chain;
6206+
return RetVal;
62076207
}
62086208

62096209
assert(false &&

0 commit comments

Comments
 (0)