[PATCH] D63407: AMDGPU/GlobalISel: Fix RegBankSelect for s1 sext/zext/anyext
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 04:37:52 PDT 2019
arsenm created this revision.
arsenm added reviewers: tstellar, rampitec, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, wdng, jvesely, kzhuravl.
This needs different handling if the source is known to be a valid
condition or not. Handle turning it into shifts or a select during
regbankselect.
https://reviews.llvm.org/D63407
Files:
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/regbankselect-anyext.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-zext.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63407.205026.patch
Type: text/x-patch
Size: 29305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/f8c3157c/attachment.bin>
More information about the llvm-commits
mailing list