[llvm] [AArch64] Eliminate Common SUBS by Reassociating Non-Constants (PR #123344)

Marius Kamp via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 11:27:12 PST 2025


================

----------------
mskamp wrote:

I've added tests for i8, i16, and i64. For i8 and i16, the transformation does not trigger because the operands of the SUBS node are AND nodes whereas the arithmetic operations are performed in 32 bits. Nevertheless, it might be good to have such tests.

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


More information about the llvm-commits mailing list