[all-commits] [llvm/llvm-project] 3d91d5: [AArch64][GlobalISel] Mark G_FMINNUM/G_FMAXNUM as ...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Aug 18 13:33:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d91d5b757ff15f1c57a165e5d530320ac1428bd
      https://github.com/llvm/llvm-project/commit/3d91d5b757ff15f1c57a165e5d530320ac1428bd
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/regbank-maxnum.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/regbank-minnum.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Mark G_FMINNUM/G_FMAXNUM as floating point opcodes

We need to ensure that these end up on FPR to allow imported patterns to
select them.

This will also ensure that we get good regbank selection when dealing with
instructions like G_PHI/G_LOAD/G_STORE which deduce their banks from their
uses/users.

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




More information about the All-commits mailing list