Skip to content

Commit c791d86

Browse files
[NFC][RegAlloc] Delete unused option
The option -disable-spill-hoist does not actually control anything and is not used anywhere, so it should be removed.
1 parent 34e5a71 commit c791d86

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/CodeGen/InlineSpiller.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ STATISTIC(NumFolded, "Number of folded stack accesses");
7070
STATISTIC(NumFoldedLoads, "Number of folded loads");
7171
STATISTIC(NumRemats, "Number of rematerialized defs for spilling");
7272

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

0 commit comments

Comments
 (0)