Skip to content

Commit 3891bee

Browse files
- Removed the -aarch64-enable-subreg-liveness flag, since the -enable-subreg-liveness
flag can already be used to disable liveness tracking.
1 parent 9a112aa commit 3891bee

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

llvm/lib/Target/AArch64/AArch64Subtarget.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ static cl::opt<unsigned> AArch64MinimumJumpTableEntries(
7575
"aarch64-min-jump-table-entries", cl::init(13), cl::Hidden,
7676
cl::desc("Set minimum number of entries to use a jump table on AArch64"));
7777

78-
static cl::opt<bool> EnableSubRegLiveness("aarch64-enable-subreg-liveness",
79-
cl::init(true), cl::Hidden);
80-
8178
unsigned AArch64Subtarget::getVectorInsertExtractBaseCost() const {
8279
if (OverrideVectorInsertExtractBaseCost.getNumOccurrences() > 0)
8380
return OverrideVectorInsertExtractBaseCost;
@@ -575,10 +572,6 @@ AArch64Subtarget::getAuthenticatedLRCheckMethod() const {
575572
return AArch64PAuth::AuthCheckMethod::None;
576573
}
577574

578-
bool AArch64Subtarget::enableSubRegLiveness() const {
579-
return EnableSubRegLiveness;
580-
}
581-
582575
bool AArch64Subtarget::enableMachinePipeliner() const {
583576
return getSchedModel().hasInstrSchedModel();
584577
}

llvm/lib/Target/AArch64/AArch64Subtarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class AArch64Subtarget final : public AArch64GenSubtargetInfo {
149149
const Triple &getTargetTriple() const { return TargetTriple; }
150150
bool enableMachineScheduler() const override { return true; }
151151
bool enablePostRAScheduler() const override { return usePostRAScheduler(); }
152-
bool enableSubRegLiveness() const override;
152+
bool enableSubRegLiveness() const override { return true; }
153153

154154
bool enableMachinePipeliner() const override;
155155
bool useDFAforSMS() const override { return false; }

0 commit comments

Comments
 (0)