]> granicus.if.org Git - llvm/commit
[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)
commitac55183a2246855e9a630a2db71ff8f07fb01731
tree77733ffb8866ef4272899106610ad8629c55470d
parent920f10da54fbdb0d4e464b2f293ae5a50a7a347a
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367189 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll [new file with mode: 0644]