[all-commits] [llvm/llvm-project] bc3606: [AArch64][GlobalISel] Assign FPR banks to loads wh...
AE via All-commits
all-commits at lists.llvm.org
Thu Jan 14 16:23:21 PST 2021
Branch: refs/heads/co1-master
Home: https://github.com/llvm/llvm-project
Commit: bc3606d0b27b2ba13a826b5c3fcba81f7e737387
https://github.com/llvm/llvm-project/commit/bc3606d0b27b2ba13a826b5c3fcba81f7e737387
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