[PATCH] D63798: AMDGPU/GlobalISel: Fix allowing non-boolean conditions for G_SELECT
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 17:49:47 PDT 2019
arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, wdng, jvesely, kzhuravl.
The condition register bank must be scc or vcc so that a copy will be
inserted, which will be lowered to a compare.
Currently greedy unnecessarily forces using a VCC select.
https://reviews.llvm.org/D63798
Files:
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
test/CodeGen/AMDGPU/GlobalISel/regbankselect-select.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63798.206566.patch
Type: text/x-patch
Size: 116338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/621af463/attachment.bin>
More information about the llvm-commits
mailing list