forked from OSchip/llvm-project
Rename -disable-physical-join to -join-physregs and invert it.
Physreg joining is still on by default, but I will turn it off shortly. llvm-svn: 130844
This commit is contained in:
parent
fe1bdf291f
commit
f71fe4333b
|
@ -61,9 +61,9 @@ DisableCrossClassJoin("disable-cross-class-join",
|
||||||
cl::init(false), cl::Hidden);
|
cl::init(false), cl::Hidden);
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
DisablePhysicalJoin("disable-physical-join",
|
EnablePhysicalJoin("join-physregs",
|
||||||
cl::desc("Avoid coalescing physical register copies"),
|
cl::desc("Join physical register copies"),
|
||||||
cl::init(false), cl::Hidden);
|
cl::init(true), cl::Hidden);
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
VerifyCoalescing("verify-coalescing",
|
VerifyCoalescing("verify-coalescing",
|
||||||
|
@ -927,7 +927,7 @@ bool SimpleRegisterCoalescing::shouldJoinPhys(CoalescerPair &CP) {
|
||||||
if (!Allocatable && CP.isFlipped() && JoinVInt.containsOneValue())
|
if (!Allocatable && CP.isFlipped() && JoinVInt.containsOneValue())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (DisablePhysicalJoin) {
|
if (!EnablePhysicalJoin) {
|
||||||
DEBUG(dbgs() << "\tPhysreg joins disabled.\n");
|
DEBUG(dbgs() << "\tPhysreg joins disabled.\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue