================
@@ -222,6 +222,11 @@ static cl::opt<bool>
     EnableDFAJumpThreading("enable-dfa-jump-thread",
                            cl::desc("Enable DFA jump threading"),
                            cl::init(false), cl::Hidden);
+static cl::opt<bool>
+    DFAJumpThreadingOptSize("dfa-jump-thread-optsize",
+                           cl::desc("Enable DFA jump threading when optimizing 
for size"),
+                           cl::init(false), cl::Hidden);
+
----------------
ilovepi wrote:

Its rather unfortunate that we need 2 flags to enable a single behavior ... Is 
there a common place we can put this flag and use it here and in 
`DFAJumpThreading.cpp`?

https://github.com/llvm/llvm-project/pull/83049
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to