mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
Remove an unused command line option.
llvm-svn: 48854
This commit is contained in:
parent
6cbce6b602
commit
1afaf3092f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user