[PATCH] D152927: [InstCombine] Fold binop op shifts with related amounts

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 08:34:40 PDT 2023


nikic updated this revision to Diff 531353.
nikic added a comment.

Conservatively bail on constant expressions.


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

https://reviews.llvm.org/D152927

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/binop-of-displaced-shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152927.531353.patch
Type: text/x-patch
Size: 10869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230614/8baf7f04/attachment.bin>


More information about the llvm-commits mailing list