[llvm] [AArch64] Select REV16 for zext(bswap(i16)) (PR #189576)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 02:32:45 PDT 2026


https://github.com/davemgreen approved this pull request.

I think this LGTM. I was wondering if it could be done as a combine for shift of bswap looking at the known bits, but it looks like this works OK and the memcmp improvements are nice to see.

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


More information about the llvm-commits mailing list