[all-commits] [llvm/llvm-project] d8cc14: [AArch64] [NFC] Add tests

Guy David via All-commits all-commits at lists.llvm.org
Wed Jul 8 06:22:14 PDT 2026


  Branch: refs/heads/users/guy-david/aarch64-neg-smin
  Home:   https://github.com/llvm/llvm-project
  Commit: d8cc144b69f12b4208464c015e99b1f63fd3fcfd
      https://github.com/llvm/llvm-project/commit/d8cc144b69f12b4208464c015e99b1f63fd3fcfd
  Author: Guy David <guyda at apple.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    A llvm/test/CodeGen/AArch64/neg-sign-masked-and.ll

  Log Message:
  -----------
  [AArch64] [NFC] Add tests


  Commit: 564c29fbd901509be78fda5acbd5005c99ee5747
      https://github.com/llvm/llvm-project/commit/564c29fbd901509be78fda5acbd5005c99ee5747
  Author: Guy David <guyda at apple.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neg-sign-masked-and.ll

  Log Message:
  -----------
  [AArch64] Reassociate neg (and X, M) with an all-0/1's mask M

  neg (and X, M) -> and (neg X), M

where M is all-zeros or all-ones, so the negate distributes across the AND.

mask: https://alive2.llvm.org/ce/z/V5iZ3R
complement: https://alive2.llvm.org/ce/z/5AyFjR

Assisted-by: Opus 4.8


Compare: https://github.com/llvm/llvm-project/compare/c5ca49231161...564c29fbd901

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