mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
Rename -disable-physical-join to -join-physregs and invert it.
Physreg joining is still on by default, but I will turn it off shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a938dd0dc9
commit
9126601770
@ -61,9 +61,9 @@ DisableCrossClassJoin("disable-cross-class-join",
|
||||
cl::init(false), cl::Hidden);
|
||||
|
||||
static cl::opt<bool>
|
||||
DisablePhysicalJoin("disable-physical-join",
|
||||
cl::desc("Avoid coalescing physical register copies"),
|
||||
cl::init(false), cl::Hidden);
|
||||
EnablePhysicalJoin("join-physregs",
|
||||
cl::desc("Join physical register copies"),
|
||||
cl::init(true), cl::Hidden);
|
||||
|
||||
static cl::opt<bool>
|
||||
VerifyCoalescing("verify-coalescing",
|
||||
@ -927,7 +927,7 @@ bool SimpleRegisterCoalescing::shouldJoinPhys(CoalescerPair &CP) {
|
||||
if (!Allocatable && CP.isFlipped() && JoinVInt.containsOneValue())
|
||||
return true;
|
||||
|
||||
if (DisablePhysicalJoin) {
|
||||
if (!EnablePhysicalJoin) {
|
||||
DEBUG(dbgs() << "\tPhysreg joins disabled.\n");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user