[all-commits] [llvm/llvm-project] 01ff51: [AArch64] Optimize memcmp when the result is teste...

Allen via All-commits all-commits at lists.llvm.org
Thu Oct 27 16:56:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01ff511593d1a4920fa3c1d450ad2077661e0bdc
      https://github.com/llvm/llvm-project/commit/01ff511593d1a4920fa3c1d450ad2077661e0bdc
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/atomicrmw-O0.ll
    M llvm/test/CodeGen/AArch64/bcmp-inline-small.ll
    M llvm/test/CodeGen/AArch64/bcmp.ll
    M llvm/test/CodeGen/AArch64/dag-combine-setcc.ll
    M llvm/test/CodeGen/AArch64/i128-cmp.ll
    M llvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll

  Log Message:
  -----------
  [AArch64] Optimize memcmp when the result is tested for [in]equality with 0

Fixes 1st issue of https://github.com/llvm/llvm-project/issues/58061

Reviewed By: dmgreen, efriedma
Differential Revision: https://reviews.llvm.org/D136244




More information about the All-commits mailing list