[all-commits] [llvm/llvm-project] 4957ee: [AArch64][GlobalISel] Add a target-specific G_BIT ...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Sep 28 15:51:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4957ee652935f8b3b9ee8f886999795af80b9a3e
      https://github.com/llvm/llvm-project/commit/4957ee652935f8b3b9ee8f886999795af80b9a3e
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2022-09-28 (Wed, 28 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrGISel.td
    A llvm/test/CodeGen/AArch64/GlobalISel/select-bit.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Add a target-specific G_BIT opcode.

This is necessary for custom-legalizing G_FCOPYSIGN.

This is equivalent to the BIT instruction (bitwise insert if true).

Add selection testcases for imported patterns.

Differential Revision: https://reviews.llvm.org/D108714




More information about the All-commits mailing list