Files
clang-p2996/llvm/lib/Analysis/ScalarEvolution.cpp
Florian Hahn 3f0e1d4cf0 [SCEV] Swap order of arguments to MatchBinaryAddToConst (NFCI). (#91945)
The argument order to MatchBinaryAddToConst doesn't match the comment
and also is counter-intuitive (passing RHS before LHS, C2 before C1).

This patch adjusts the order to be inline with the calls above, which
should be equivalent, but more natural:
https://alive2.llvm.org/ce/z/ZWGp-Z

PR: https://github.com/llvm/llvm-project/pull/91945
2024-05-13 13:04:22 +01:00

592 KiB