Remove an unused command line option.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 Mar 2008 01:30:24 +0000 (01:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 Mar 2008 01:30:24 +0000 (01:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48854 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index 64cb358459787ffa87b06437fc7208d6068a11c8..86253005b7890dd817b5d59c5c539b1760deb84a 100644 (file)
@@ -37,10 +37,6 @@ namespace {
                     cl::desc("Print instructions that the allocator wants to"
                              " fuse, but the X86 backend currently can't"),
                     cl::Hidden);
-  cl::opt<bool>
-  ReMatPICLoad("remat-pic-load",
-               cl::desc("Allow rematerializing pic load"),
-               cl::init(true), cl::Hidden);
 }
 
 X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
@@ -762,8 +758,6 @@ bool X86InstrInfo::isReallyTriviallyReMaterializable(MachineInstr *MI) const {
       unsigned BaseReg = MI->getOperand(1).getReg();
       if (BaseReg == 0)
         return true;
-      if (!ReMatPICLoad)
-        return false;
       // Allow re-materialization of PIC load.
       MachineRegisterInfo &MRI = MI->getParent()->getParent()->getRegInfo();
       bool isPICBase = false;