diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-11 10:21:10 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-11 10:21:10 +0000 |
commit | 8a8a7292421c3113b0d99b938e9d4688d684fb5e (patch) | |
tree | ec52b203ce3fc830ce36e4061591f050d17b9f90 /unittests/Support | |
parent | c71ad5de2ccc4ea7109e16bc229380a7adda3b77 (diff) |
[NFC][AMDGPU] Add tests for all the various IR patterns equivalent to extracting low bits.
Summary:
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.
Reviewers: mareko, bogner, rampitec, arsenm, tstellar, nhaehnle
Reviewed By: nhaehnle
Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits
Tags: #amdgpu
Differential Revision: https://reviews.llvm.org/D48005
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support')
0 files changed, 0 insertions, 0 deletions