commit | e8f666f48d87e3d61ae3f68ed96d280805707a22 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Sat Aug 17 21:35:33 2019 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Sat Aug 17 21:35:33 2019 +0000 |
tree | 9cf4acabeab5f16c0eee66d9672f9d4e5df36f27 | |
parent | 8fd6aa5ed2d61d6ebba1185f59fe0e57fd218429 [diff] |
[NFC][InstCombine] Some tests for 'shift amount reassoc in bit test - trunc-of-lshr' (PR42399) Finally, the fold i was looking forward to :) The legality check is muddy, i doubt i've groked the full generalization, but it handles all the cases i care about, and can come up with: https://rise4fun.com/Alive/26j https://bugs.llvm.org/show_bug.cgi?id=42399 llvm-svn: 369197