[llvm] [AArch64] Enable preferZeroCompareBranch for AArch64 when we don't have fused cmp+br (PR #150045)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 02:25:48 PDT 2025


davemgreen wrote:

>From #145803, do you have any benchmark results? Codesize was better when I tried it, but AFAIU it does mean the branch starts a cycles later. And as I mentioned in the other ticket, Arm has a lsrs that sets flags as it shifts, which AArch64 doesn't have.

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


More information about the llvm-commits mailing list