summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2023-08-25 20:24:53 +0000
committerSnehasish Kumar <snehasishk@google.com>2023-08-25 21:24:28 +0000
commit3dbabeadd63ebcf714a18c6fc783ab20de8eaa82 (patch)
tree484deb3140b63a64a62870ff159c28899abe35f1 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp
parent398c855457726014d9efd12417921e060712f542 (diff)
[CodeGen] Remove unused option in MachineFunctionSplitter.
The option was added in github.com/llvm/llvm-project/commit/90ab85a but it doesn't seem to be used. The triple check has been removed so this shouldn't be required going forward. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D158885
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunctionSplitter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/MachineFunctionSplitter.cpp b/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
index 8b2092dc4ec0..64f7c36c22db 100644
--- a/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
+++ b/llvm/lib/CodeGen/MachineFunctionSplitter.cpp
@@ -67,13 +67,6 @@ static cl::opt<bool> SplitAllEHCode(
cl::desc("Splits all EH code and it's descendants by default."),
cl::init(false), cl::Hidden);
-static cl::opt<bool> AllowUnsupportedTriple(
- "mfs-allow-unsupported-triple",
- cl::desc(
- "Splits functions even if the target triple isn't supported. This is "
- "testing flag for targets that don't yet support function splitting."),
- cl::init(false), cl::Hidden);
-
namespace {
class MachineFunctionSplitter : public MachineFunctionPass {