[llvm] [DAGCombiner] Option --combiner-select-seq (PR #134813)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 16:27:21 PDT 2025
================
@@ -149,6 +149,18 @@ static cl::opt<bool> EnableShrinkLoadReplaceStoreWithStore(
cl::desc("DAG combiner enable load/<replace bytes>/store with "
"a narrower store"));
+static cl::opt<bool> SelectSeq(
+ "combiner-select-seq", cl::Hidden, cl::init(false),
+ cl::desc("DAG combiner minimize condition-code lifetime for select "
+ "sequences over constants in arithmetic progressions"),
+ cl::ZeroOrMore);
----------------
ppetrovic98 wrote:
Thanks for the feedback. This should be resolved in the latest changes.
I removed the "combiner-select-seq" option and used hasMultipleConditionRegisters hook to trigger this transformation.
Please let me know what you think.
https://github.com/llvm/llvm-project/pull/134813
More information about the llvm-commits
mailing list