[llvm-commits] [llvm] r121340 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Eric Christopher echristo at apple.com
Wed Dec 8 16:57:19 PST 2010


Author: echristo
Date: Wed Dec  8 18:57:19 2010
New Revision: 121340

URL: http://llvm.org/viewvc/llvm-project?rev=121340&view=rev
Log:
Stop confusing people, it's not really a chain, or a tumor.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=121340&r1=121339&r2=121340&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Dec  8 18:57:19 2010
@@ -6195,7 +6195,7 @@
     // Lowering the machine isd will make sure everything is in the right
     // location.
     SDValue Args[] = { Offset };
-    SDValue Chain = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1);
+    SDValue RetVal = DAG.getNode(X86ISD::TLSCALL, DL, MVT::Other, Args, 1);
 
     // TLSCALL will be codegen'ed as call. Inform MFI that function has calls.
     MachineFrameInfo *MFI = DAG.getMachineFunction().getFrameInfo();
@@ -6203,7 +6203,7 @@
     
     // And our return value (tls address) is in the standard call return value
     // location.
-    return Chain;
+    return RetVal;
   }
 
   assert(false &&





More information about the llvm-commits mailing list