[llvm-commits] [llvm] r91623 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Thu Dec 17 13:23:59 PST 2009


Author: evancheng
Date: Thu Dec 17 15:23:58 2009
New Revision: 91623

URL: http://llvm.org/viewvc/llvm-project?rev=91623&view=rev
Log:
Remove an unused option.

Modified:
    llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=91623&r1=91622&r2=91623&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Thu Dec 17 15:23:58 2009
@@ -50,9 +50,6 @@
 #include "llvm/ADT/Statistic.h"
 using namespace llvm;
 
-#include "llvm/Support/CommandLine.h"
-static cl::opt<bool> AvoidDupAddrCompute("x86-avoid-dup-address", cl::Hidden);
-
 STATISTIC(NumLoadMoved, "Number of loads moved below TokenFactor");
 
 //===----------------------------------------------------------------------===//
@@ -1276,7 +1273,7 @@
                                  SDValue &Disp, SDValue &Segment) {
   X86ISelAddressMode AM;
   bool Done = false;
-  if (AvoidDupAddrCompute && !N.hasOneUse()) {
+  if (!N.hasOneUse()) {
     unsigned Opcode = N.getOpcode();
     if (Opcode != ISD::Constant && Opcode != ISD::FrameIndex &&
         Opcode != X86ISD::Wrapper && Opcode != X86ISD::WrapperRIP) {





More information about the llvm-commits mailing list