[all-commits] [llvm/llvm-project] 10b323: [AArch64][GISel] Signed comparison using CMN is sa...

AZero13 via All-commits all-commits at lists.llvm.org
Wed Jul 30 23:48:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b323b993f4f43a382c6444dfe6e4c0fda15ab2
      https://github.com/llvm/llvm-project/commit/10b323b993f4f43a382c6444dfe6e4c0fda15ab2
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-swap-compare-operands.mir
    M llvm/test/CodeGen/AArch64/cmp-to-cmn.ll

  Log Message:
  -----------
  [AArch64][GISel] Signed comparison using CMN is safe when the subtraction is nsw (#150480)

#141993 but for GISel, though for LHS, we now do the inverse compare, something
that SelDAG does not do as of now but I will do in a future patch.



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