From d765952b1722612dac1ad114b22075815cb258a2 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 17 Dec 2009 21:23:58 +0000 Subject: [PATCH] Remove an unused option. llvm-svn: 91623 --- lib/Target/X86/X86ISelDAGToDAG.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index a9a78be3e31..a37a082ba85 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -50,9 +50,6 @@ #include "llvm/ADT/Statistic.h" using namespace llvm; -#include "llvm/Support/CommandLine.h" -static cl::opt AvoidDupAddrCompute("x86-avoid-dup-address", cl::Hidden); - STATISTIC(NumLoadMoved, "Number of loads moved below TokenFactor"); //===----------------------------------------------------------------------===// @@ -1276,7 +1273,7 @@ bool X86DAGToDAGISel::SelectAddr(SDValue Op, SDValue N, SDValue &Base, 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) {