[all-commits] [llvm/llvm-project] 4e6835: [AArch64] Use ccmn to compare negative immediates ...

AtariDreams via All-commits all-commits at lists.llvm.org
Fri Jun 21 07:48:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
      https://github.com/llvm/llvm-project/commit/4e6835d4d980b0a1ea6a9de1c2e8360fd0810bba
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/arm64-ccmp.ll
    M llvm/test/CodeGen/AArch64/cmp-chains.ll

  Log Message:
  -----------
  [AArch64] Use ccmn to compare negative immediates between -1 and -31 (#95825)

Because ccmn is like a + b, it works when using cmp but with values that
when negated are in the range of 1 through 31



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