[PATCH] D55693: AMDGPU/GlobalISel: Fix ValueMapping tables for i1

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 14 00:16:23 PST 2018


arsenm created this revision.
arsenm added a reviewer: tstellar.
Herald added subscribers: t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

This was incorrectly selecting SGPR for any i1 values,
e.g. G_TRUNC to i1 from a VGPR was still an SGPR.


https://reviews.llvm.org/D55693

Files:
  lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
  test/CodeGen/AMDGPU/GlobalISel/regbankselect-trunc.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55693.178191.patch
Type: text/x-patch
Size: 4467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181214/5b6f270a/attachment.bin>


More information about the llvm-commits mailing list