[NFC][InstCombine] Shift amount reassociation: can have trunc between shl's
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 28 Jul 2019 13:13:46 +0000 (13:13 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sun, 28 Jul 2019 13:13:46 +0000 (13:13 +0000)
commitd5bc4b09f11b794deecdfd2aabe5f870369c45ef
tree9e71d7be1ebb37701b4f93b54ef954219bc54a6d
parent45d910de994098142d6e8ffae94963df0f649dc2
[NFC][InstCombine] Shift amount reassociation: can have trunc between shl's

https://rise4fun.com/Alive/OQbM
Not so simple for lshr/ashr, so those maybe later.

https://bugs.llvm.org/show_bug.cgi?id=42391

llvm-svn: 367189
llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll [new file with mode: 0644]