mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
Remove an unused option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b63bb1615b
commit
73ebbd8aac
@ -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 @@ 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user