[llvm] r209518 - Delete dead code.
Rafael Espindola
rafael.espindola at gmail.com
Fri May 23 08:07:51 PDT 2014
Author: rafael
Date: Fri May 23 10:07:51 2014
New Revision: 209518
URL: http://llvm.org/viewvc/llvm-project?rev=209518&view=rev
Log:
Delete dead code.
GV is never used past this point. This was probably a copy and paste error.
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=209518&r1=209517&r2=209518&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri May 23 10:07:51 2014
@@ -8945,10 +8945,6 @@ X86TargetLowering::LowerGlobalTLSAddress
// 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<GlobalAlias>(GV))
- GV = GA->getAliasee();
SDLoc dl(GA);
SDValue Chain = DAG.getEntryNode();
More information about the llvm-commits
mailing list