[PATCH] D136244: [AArch64] Optimize memcmp when the result is tested for [in]equality with 0

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 10:02:06 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/i128-cmp.ll:122
 ; CHECK-NEXT:    orr x8, x9, x8
 ; CHECK-NEXT:    cbnz x8, .LBB10_2
 ; CHECK-NEXT:  // %bb.1: // %call
----------------
Is there some reason we don't want to combine this to cmp+ccmp+b.ne?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136244/new/

https://reviews.llvm.org/D136244



More information about the llvm-commits mailing list