From: Rafael Espindola Date: Fri, 23 May 2014 15:07:51 +0000 (+0000) Subject: Delete dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc3ce836da72a2898779c3262701a5dde82f8f10;p=oota-llvm.git Delete dead code. GV is never used past this point. This was probably a copy and paste error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209518 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index c3006377a6c..cbaf44e35e1 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -8945,10 +8945,6 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const { // Windows 64bit: gs:0x58 // Windows 32bit: fs:__tls_array - // If GV is an alias then use the aliasee for determining - // thread-localness. - if (const GlobalAlias *GA = dyn_cast(GV)) - GV = GA->getAliasee(); SDLoc dl(GA); SDValue Chain = DAG.getEntryNode();