SuccessChanges

Summary

  1. [AArch64][GlobalISel] If a G_BUILD_VECTOR operands are all G_CONSTANT then assign to gpr bank. (details)
Commit 546e460a00a985ce6fca323fe509f7d4e893b621 by Amara Emerson
[AArch64][GlobalISel] If a G_BUILD_VECTOR operands are all G_CONSTANT then assign to gpr bank.

Even if the type is s8/s16, assigning to gpr is preferable with constants because
worst case we can select via a constant pool load, and without cross-bank copies
to the FPR bank more patterns can be imported later.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vabs.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/regbankselect-build-vector.mir (diff)