Updated the AArch64 tests the best I could with my vague, inferred
understanding of AArch64 register banks. As far as I can tell, there
is only one 32-bit/64-bit type which will use the gpr register bank,
so we have to use the fpr bank for the other operand.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir | ||
---|---|---|
410 | We never enable the greedy RBS mode. I think this behavior is wrong for vectors. |
llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir | ||
---|---|---|
410 | For the purpose of the patch, there just needs to be something here to test a bitcast. If it happens to produce the wrong output, that's a separate issue |
llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir | ||
---|---|---|
410 | Please add a comment in this test to explain that the greedy checks are correct. |
AFAIK we should only have vectors on FPRs, but maybe I'm wrong about that.
@aemerson ?