[InstCombine] move/add tests for trunc-of-lshr; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 21 Sep 2021 15:26:30 +0000 (11:26 -0400)
committerSanjay Patel <spatel@rotateright.com>
Tue, 21 Sep 2021 16:11:25 +0000 (12:11 -0400)
commit08ef71ca92d9bd474ac4bbb5109e9ced19c77f0e
tree10d2c28a5048311dbb91590b8ddb96db5a000fc2
parent11c533e1ea38381726ed04ab65937a03fbfb3e19
[InstCombine] move/add tests for trunc-of-lshr; NFC

Planning to reframe a proposed transform in terms of
demanded bits as suggested in D110170.
The new tests end with an 'or'.
llvm/test/Transforms/InstCombine/and-narrow.ll
llvm/test/Transforms/InstCombine/trunc-demand.ll [new file with mode: 0644]