[PATCH] D67725: [InstCombine] dropRedundantMaskingOfLeftShiftInput(): pat. c/d/e with mask (PR42563)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 09:34:06 PDT 2019


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

Avoid constantexpr pitfail.
I'm not adding a test - i tried to come up with it, but it does not match.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67725

Files:
  llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
  llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll
  llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll
  llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67725.221356.patch
Type: text/x-patch
Size: 10734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/772d84c5/attachment.bin>


More information about the llvm-commits mailing list