[all-commits] [llvm/llvm-project] b3e74e: [AArch64] Add SUBHN patterns for xor variant (#126...

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 10 01:09:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3e74e307ff813abbc32399af31e69114a058212
      https://github.com/llvm/llvm-project/commit/b3e74e307ff813abbc32399af31e69114a058212
  Author: David Green <david.green at arm.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/arm64-vadd.ll

  Log Message:
  -----------
  [AArch64] Add SUBHN patterns for xor variant (#126100)

`xor x, -1` can be treated as `sub -1, x`, add patterns for generating
subhn as opposed to a not.

Fixes #123999



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