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

Gábor Spaits via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 07:12:19 PST 2025


spaits 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"??

Yes you are right. Sorry for my mistake.

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


More information about the llvm-commits mailing list