[llvm] [llvm-opt-fuzzer] Add more passes options (PR #76474)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 00:54:04 PST 2023


================
@@ -84,9 +84,10 @@ void llvm::handleExecNameEncodedOptimizerOpts(StringRef ExecName) {
       Args.push_back("-passes=simplifycfg");
     } else if (Opt == "gvn") {
       Args.push_back("-passes=gvn");
+    } else if (Opt == "newgvn") {
+      Args.push_back("-passes=newgvn");
----------------
nikic wrote:

Probably remove this one as well. It's also a non-production pass that has enough known issues that more reports are unlikely to be useful to anyone.

https://github.com/llvm/llvm-project/pull/76474


More information about the llvm-commits mailing list