From 3dbabeadd63ebcf714a18c6fc783ab20de8eaa82 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 25 Aug 2023 20:24:53 +0000 Subject: [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 --- llvm/lib/CodeGen/MachineFunctionSplitter.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp') 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 SplitAllEHCode( cl::desc("Splits all EH code and it's descendants by default."), cl::init(false), cl::Hidden); -static cl::opt 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 { -- cgit v1.2.3