Skip to content

Commit

Permalink
Delete dead code.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
espindola committed May 23, 2014
1 parent b3fa233 commit dc3ce83
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<GlobalAlias>(GV))
GV = GA->getAliasee();
SDLoc dl(GA);
SDValue Chain = DAG.getEntryNode();

Expand Down

0 comments on commit dc3ce83

Please sign in to comment.