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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir | ||
---|---|---|
384 | Doesn't look like the G_FCONSTANTs are used here, or in the other test? |
llvm/test/CodeGen/AArch64/GlobalISel/regbank-fp-use-def.mir | ||
---|---|---|
384 | Yep, will remove. |
Doesn't look like the G_FCONSTANTs are used here, or in the other test?