mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Move rematerialization out of beta.
llvm-svn: 35419
This commit is contained in:
parent
2dc7cf0114
commit
13037fbfb4
@ -50,11 +50,6 @@ namespace {
|
||||
EnableJoining("join-liveintervals",
|
||||
cl::desc("Coallesce copies (default=true)"),
|
||||
cl::init(true));
|
||||
|
||||
static cl::opt<bool>
|
||||
EnableReMat("enable-rematerialization",
|
||||
cl::desc("Perform trivial re-materialization"),
|
||||
cl::init(false));
|
||||
}
|
||||
|
||||
void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
@ -436,8 +431,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
|
||||
// time we see a vreg.
|
||||
if (interval.empty()) {
|
||||
// Remember if the definition can be rematerialized.
|
||||
if (EnableReMat &&
|
||||
vi.DefInst && tii_->isReMaterializable(vi.DefInst->getOpcode()))
|
||||
if (vi.DefInst && tii_->isReMaterializable(vi.DefInst->getOpcode()))
|
||||
interval.remat = vi.DefInst;
|
||||
|
||||
// Get the Idx of the defining instructions.
|
||||
|
Loading…
Reference in New Issue
Block a user