[all-commits] [llvm/llvm-project] 036bc7: [AArch64][GlobalISel] Assign FPR banks to loads wh...

AE via All-commits all-commits at lists.llvm.org
Thu Jan 14 16:33:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 036bc798f2ae4d266fe01e70778afe0b3381c088
      https://github.com/llvm/llvm-project/commit/036bc798f2ae4d266fe01e70778afe0b3381c088
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Assign FPR banks to loads which are used by integer->float conversions.

G_[US]ITOFP users of loads on AArch64 can operate on both gpr and fpr banks for scalars.
Because of this, if their source is a load, then that load can be assigned to an fpr
bank and therefore avoid having to do a cross bank copy via a gpr->fpr conversion.

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




More information about the All-commits mailing list