commit | 77679c9853dca92eb58e9be0c6f1ce28ded6f738 | [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 | ad9dc4744142ad0ca70d66d59f3f6603ed84eb8a | |
parent | bf2ba230f032fab899fdda03029c87080dd3a799 [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369197 91177308-0d34-0410-b5e6-96231b3b80d8