[llvm] r224076 - return without temporary; NFC

Sanjay Patel spatel at rotateright.com
Thu Dec 11 15:30:36 PST 2014


Author: spatel
Date: Thu Dec 11 17:30:36 2014
New Revision: 224076

URL: http://llvm.org/viewvc/llvm-project?rev=224076&view=rev
Log:
return without temporary; NFC

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=224076&r1=224075&r2=224076&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Dec 11 17:30:36 2014
@@ -111,10 +111,7 @@ static SDValue ExtractSubVector(SDValue
                                     ElemsPerChunk));
 
   SDValue VecIdx = DAG.getIntPtrConstant(NormalizedIdxVal);
-  SDValue Result = DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, ResultVT, Vec,
-                               VecIdx);
-
-  return Result;
+  return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, ResultVT, Vec, VecIdx);
 }
 
 /// Generate a DAG to grab 128-bits from a vector > 128 bits.  This





More information about the llvm-commits mailing list