[all-commits] [llvm/llvm-project] 945a14: [ARM] Support all versions of AND, ORR, EOR and BI...

Filipp Zhinkin via All-commits all-commits at lists.llvm.org
Sat Oct 1 02:41:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 945a1468c922573a07b334a130d05f0ecca40926
      https://github.com/llvm/llvm-project/commit/945a1468c922573a07b334a130d05f0ecca40926
  Author: Filipp Zhinkin <filipp.zhinkin at gmail.com>
  Date:   2022-10-01 (Sat, 01 Oct 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/test/CodeGen/ARM/branch-on-zero.ll
    M llvm/test/CodeGen/ARM/cmp-peephole.ll
    M llvm/test/CodeGen/ARM/consthoist-icmpimm.ll
    M llvm/test/CodeGen/ARM/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
    M llvm/test/CodeGen/ARM/icmp-shift-opt.ll
    M llvm/test/CodeGen/ARM/sadd_sat.ll
    M llvm/test/CodeGen/ARM/sadd_sat_plus.ll
    M llvm/test/CodeGen/ARM/sat-to-bitop.ll
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/arm_cmplx_dot_prod_f32.ll
    M llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll

  Log Message:
  -----------
  [ARM] Support all versions of AND, ORR, EOR and BIC in optimizeCompareInstr

Combine cmp with zero and all versions of AND, ORR, EOR and BIC instructions into S-suffixed versions.

Related issue: https://github.com/llvm/llvm-project/issues/57122

Reviewed By: efriedma, samtebbs

Differential Revision: https://reviews.llvm.org/D131786




More information about the All-commits mailing list