[NFC][InstCombine] Tests for shift amount reassociation in bittest with truncated...
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 10 Aug 2019 19:29:03 +0000 (19:29 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 10 Aug 2019 19:29:03 +0000 (19:29 +0000)
commit404e978f2721eb77894881d60a6175f4018182a2
treec82864ca5d6f45c179ae7e4217f178c61e3b83d2
parenta8d20b446766d8dd1cdbd0332daf646294f6ea77
[NFC][InstCombine] Tests for shift amount reassociation in bittest with truncated shl (PR42399)

trunc-of-shl:
  https://rise4fun.com/Alive/zGx
  https://rise4fun.com/Alive/sl0L
I.e. no extra legality check needed.

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

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