[llvm] [RISCV] and x (sub 0, y) -> andn x y (PR #129253)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 06:58:44 PST 2025


jayfoad wrote:

> and x (sub 0, y) -> andn x y

This seems completely wrong since they calculate different results. Perhaps you meant "and x (sub **-1**, y) -> andn x y"??

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


More information about the llvm-commits mailing list