[NFC][PhaseOrdering] Add end-to-end tests for the 'two shifts by sext' problem
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 27 Sep 2019 19:32:43 +0000 (19:32 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 27 Sep 2019 19:32:43 +0000 (19:32 +0000)
commit9c604a0dd6387225e4a612ff84007a2a23149174
tree1e72b8765f6b01ade955ca054c8f5147f4772203
parent097ba7598455e1f1f8126979eeb96ed30db9ae04
[NFC][PhaseOrdering] Add end-to-end tests for the 'two shifts by sext' problem

We start with two separate sext's, but EarlyCSE runs before InstCombine,
so when we get them, they are a single sext, and we just ignore that.
Likewise, if we had a single sext, we don't do anything there.

llvm-svn: 373115
llvm/test/Transforms/PhaseOrdering/two-shifts-by-sext.ll [new file with mode: 0644]