[llvm] Scalarizer: Replace cl::opts with pass parameters (PR #110645)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 08:42:14 PDT 2024
================
@@ -573,6 +572,12 @@ FUNCTION_PASS_WITH_PARAMS(
return StackLifetimePrinterPass(dbgs(), Type);
},
parseStackLifetimeOptions, "may;must")
+FUNCTION_PASS_WITH_PARAMS(
+ "scalarizer", "ScalarizerPass",
+ [](ScalarizerPassOptions Opts) { return ScalarizerPass(Opts); },
+ parseScalarizerOptions,
+ "load-store;no-load-store;variable-insert-extract;"
+ "no-variable-insert-extract;no-min-bits=N;min-bits=N;")
----------------
aeubanks wrote:
`no-min-bits` isn't a thing if I'm reading above correctly
https://github.com/llvm/llvm-project/pull/110645
More information about the llvm-commits
mailing list