[llvm] c791d86 - [NFC][RegAlloc] Delete unused option
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 18:58:04 PDT 2024
Author: Aiden Grossman
Date: 2024-06-27T01:57:56Z
New Revision: c791d86eab13634ec372196977eeac8f3e9f4805
URL: https://github.com/llvm/llvm-project/commit/c791d86eab13634ec372196977eeac8f3e9f4805
DIFF: https://github.com/llvm/llvm-project/commit/c791d86eab13634ec372196977eeac8f3e9f4805.diff
LOG: [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.
Added:
Modified:
llvm/lib/CodeGen/InlineSpiller.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp
index 98a0150a84e31..dc03f590ded32 100644
--- a/llvm/lib/CodeGen/InlineSpiller.cpp
+++ b/llvm/lib/CodeGen/InlineSpiller.cpp
@@ -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,
More information about the llvm-commits
mailing list