[all-commits] [llvm/llvm-project] e00932: [ARM] Swap sides of cmp/cmn based on folding abili...

AZero13 via All-commits all-commits at lists.llvm.org
Tue Jul 7 05:39:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0093262487e101d3c13773bf313cd3641544cd8
      https://github.com/llvm/llvm-project/commit/e0093262487e101d3c13773bf313cd3641544cd8
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2026-07-07 (Tue, 07 Jul 2026)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/ARMInstrThumb2.td
    M llvm/test/CodeGen/ARM/atomic-ops-v8.ll
    A llvm/test/CodeGen/ARM/cmn-shift.ll
    M llvm/test/CodeGen/ARM/cmp-peephole.ll
    M llvm/test/CodeGen/ARM/umulo-32.ll
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/reductions.ll

  Log Message:
  -----------
  [ARM] Swap sides of cmp/cmn based on folding ability (#191915)

If we can fold lsl, lsr, rotr, or asr into the right side of the
compare, we should do so.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list