[llvm] [VPlan] Remove ComputeAnyOfResult, use ComputeReductionResult. (PR #190039)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 7 14:02:58 PDT 2026
https://github.com/ayalz commented:
The trivial constant foldings (and/or dce) enabled seem to indicate redundancies in so-called "AnyOf" tests. May be good to update/correct the tests first.
Replacing ComputeAnyOfResult by ComputeReductionResult (plus freeze plus select) may then keep all tests intact (as in NFC), provided also ComputeAnyOfResult::execute() refrains from emitting redundant "cond ? true : false" selects, and folds "cond ? false : true" selects into "xor cond, true".
https://github.com/llvm/llvm-project/pull/190039
More information about the llvm-commits
mailing list