[AArch64][GlobalISel][RegBankSelect] Guess the bank for loads using the MMO.
authorAmara Emerson <amara@apple.com>
Tue, 4 Apr 2023 18:00:50 +0000 (11:00 -0700)
committerAmara Emerson <amara@apple.com>
Tue, 4 Apr 2023 18:14:05 +0000 (11:14 -0700)
commita401e10f12ba555eefc3da607fa5168603caa9c6
tree0c039c2095adec63cac83e73f5e8f5b636fb0431
parent5c950a3127da7c4121da75df9751208ba2aa9cad
[AArch64][GlobalISel][RegBankSelect] Guess the bank for loads using the MMO.

We had this patch downstream for a long time, we need to find the users of the
IR load to guess the bank since with opaque pointers we lost the type information.
llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-fp-loads.mir [new file with mode: 0644]