The idiom recognition seems rather poor.
Only the @bzhi32_d0 produces v_bfe_u32.
But they all should.
This needs to be fixed before D47980 can be re-landed.
Paths
| Differential D48005
[NFC][AMDGPU] Add tests for all the various IR patterns equivalent to extracting low bits. ClosedPublic Authored by lebedev.ri on Jun 11 2018, 2:49 AM.
Details Summary The idiom recognition seems rather poor. This needs to be fixed before D47980 can be re-landed.
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 4 others. · View Herald TranscriptJun 11 2018, 2:49 AM This revision is now accepted and ready to land.Jun 11 2018, 3:01 AM Closed by commit rL334398: [NFC][AMDGPU] Add tests for all the various IR patterns equivalent to… (authored by lebedevri). · Explain WhyJun 11 2018, 3:25 AM This revision was automatically updated to reflect the committed changes. lebedev.ri added a child revision: D48007: [AMDGPU] Recognize x & (-1 >> (32 - y)) pattern..Jun 11 2018, 3:59 AM lebedev.ri added a parent revision: D48001: [Utils] update_llc_test_checks.py: support AMDGPU backend: AMDGCN, r600 triples.
Revision Contents
Diff 150700 llvm/trunk/test/CodeGen/AMDGPU/extract-lowbits.ll
|