llvm-project
7ef8ca1e - [SCEV] Add GEP offsets successively. (#247648)

Commit
3 days ago
[SCEV] Add GEP offsets successively. (#247648) nusw on a GEP only guarantees that adding the offsets in the original order of the indices does not wrap. SCEV requires flags to apply for any operand order. Add the offsets one by one instead, like createSCEV does for chains of adds. getAddExpr handles flags correctly when inlining operands. PR: https://github.com/llvm/llvm-project/pull/247648
Author
Parents
Loading