[llvm] [AArch64] Fold vector shifts guarded against oversized amounts into USHL (PR #207628)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 06:50:29 PDT 2026


https://github.com/davemgreen commented:

Sounds good. This seems to do two separate combines, one for select(shift) and one for shift(select)? Can we do the first one first?

Is there a reason not to add sra at the same time?

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


More information about the llvm-commits mailing list