[PATCH] D81485: GlobalISel: Verify G_BITCAST changes the type

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 10:25:39 PDT 2020


arsenm created this revision.
arsenm added reviewers: paquette, aemerson.
Herald added subscribers: kerbowa, hiraditya, kristof.beyls, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D81485

Files:
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir
  llvm/test/CodeGen/AArch64/GlobalISel/select-bitcast.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-bitcast.mir
  llvm/test/MachineVerifier/test_g_bitcast.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81485.269591.patch
Type: text/x-patch
Size: 9289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/7ac077af/attachment.bin>


More information about the llvm-commits mailing list