[llvm] [DAGCombine][AArch64][X86] Adjust profitability check on and(anyext, c) -> zext(and) transform (PR #214749)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 07:41:12 PDT 2026


davemgreen wrote:

@RKSimon not sure what you think of this. Not many archs have a isNarrowingProfitable that does anything. I can make it AArch64 specific if needed.

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


More information about the llvm-commits mailing list