Skip to content

Commit

Permalink
[NFC][RegAlloc] Delete unused option
Browse files Browse the repository at this point in the history
The option -disable-spill-hoist does not actually control anything and
is not used anywhere, so it should be removed.
  • Loading branch information
boomanaiden154 committed Jun 27, 2024
1 parent 34e5a71 commit c791d86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions llvm/lib/CodeGen/InlineSpiller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ STATISTIC(NumFolded, "Number of folded stack accesses");
STATISTIC(NumFoldedLoads, "Number of folded loads");
STATISTIC(NumRemats, "Number of rematerialized defs for spilling");

static cl::opt<bool> DisableHoisting("disable-spill-hoist", cl::Hidden,
cl::desc("Disable inline spill hoisting"));
static cl::opt<bool>
RestrictStatepointRemat("restrict-statepoint-remat",
cl::init(false), cl::Hidden,
Expand Down

0 comments on commit c791d86

Please sign in to comment.