[all-commits] [llvm/llvm-project] 32837f: [AArch64] Handle XAR with v1i64 operand types (#14...

David Green via All-commits all-commits at lists.llvm.org
Thu May 29 02:22:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32837f376f3c795d3ae6e632adc4f1a60180a646
      https://github.com/llvm/llvm-project/commit/32837f376f3c795d3ae6e632adc4f1a60180a646
  Author: David Green <david.green at arm.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/xar.ll

  Log Message:
  -----------
  [AArch64] Handle XAR with v1i64 operand types (#141754)

When converting ROTR(XOR(a, b)) to XAR(a, b), or ROTR(a, a) to XAR(a, zero)
we were not handling v1i64 types, meaning illegal copies get generated. This
addresses that by generating insert_subreg and extract_subreg for v1i64 to
keep the values with the correct types.

Fixes #141746



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