[PATCH] D63829: [InstCombine] Shift amount reassociation in bittest (PR42399)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 08:16:32 PDT 2019


lebedev.ri updated this revision to Diff 207324.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Prefer to create `lshr` if possible.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63829/new/

https://reviews.llvm.org/D63829

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63829.207324.patch
Type: text/x-patch
Size: 19893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/0ee05421/attachment.bin>


More information about the llvm-commits mailing list