[APIntTest] Extend extractBits to check 'lshr+trunc' pattern for each case as well.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Oct 2020 15:30:09 +0000 (16:30 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Oct 2020 15:32:40 +0000 (16:32 +0100)
commit3cb8347c94a0d8ae1295fa4ae686443f49bc18e8
tree348c4db4c3ce74c4dd0281dedf638e8d3eaaaae5
parent281de8f3613683f805bfa6a202b4d740edf83d27
[APIntTest] Extend extractBits to check 'lshr+trunc' pattern for each case as well.

Noticed while triaging PR47731 that we don't have great coverage for such patterns.
llvm/unittests/ADT/APIntTest.cpp