[llvm] [SCEV] Batch common-factor folding in getAddExpr (NFC) (PR #184258)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 04:16:55 PDT 2026


https://github.com/antoniofrighetto commented:

>From llvm-opt-benchmark-nightly, I think the change may not be strictly NFC (see the change in the xor/sub operands in llvm-test-suite/operators.ompif.ll test), as SCEVExpander seems to have materialized the expression back into different instructions (even though the underlying SCEV expression is the same), might be worth to add the test?

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


More information about the llvm-commits mailing list