This is an archive of the discontinued LLVM Phabricator instance.

[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.
Only the @bzhi32_d0 produces v_bfe_u32.
But they all should.

This needs to be fixed before D47980 can be re-landed.

Diff Detail

Repository
rL LLVM