From: Rafael Espindola Date: Fri, 23 May 2014 15:07:51 +0000 (+0000) Subject: Delete dead code. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a31f3e50dc1ba62915a88032b85b3d1bb6fd8133;p=platform%2Fupstream%2Fllvm.git Delete dead code. GV is never used past this point. This was probably a copy and paste error. llvm-svn: 209518 --- diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index c300637..cbaf44e 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/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();