[PATCH] D48005: [NFC][AMDGPU] Add tests for all the various IR patterns equivalent to extracting low bits.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 02:51:00 PDT 2018
lebedev.ri created this revision.
lebedev.ri added reviewers: mareko, bogner, rampitec, arsenm, tstellar.
lebedev.ri added a project: AMDGPU.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.
The idiom recognition seems rather poor.
Only the `@bzhi32_d0` produces `v_bfe_u32`.
But they all should.
This needs to be fixed before https://reviews.llvm.org/D47980 can be re-landed.
Repository:
rL LLVM
https://reviews.llvm.org/D48005
Files:
test/CodeGen/AMDGPU/extract-lowbits.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48005.150697.patch
Type: text/x-patch
Size: 9526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180611/04d0479e/attachment.bin>
More information about the llvm-commits
mailing list