[llvm] [AArch64] Eliminate Common Subexpression of CSEL by Reassociation (PR #121350)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 02:49:21 PST 2025


https://github.com/davemgreen commented:

Hi - Am I right in thinking that any condition would be valid if we were just reassociating the adds and use the same constant? (As in https://alive2.llvm.org/ce/z/X7pFRT). The conditions allowed by this patch are to do with having to alter the constants to match the SUBS?

Do you have any tests where the type of the CSEL is different from the type of the SUBS?

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


More information about the llvm-commits mailing list