[PATCH] D144760: [InstCombine] use demanded vector elements to eliminate partially redundant instructions

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 12:12:18 PST 2023


spatel updated this revision to Diff 500870.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Added TODO comment to allow this for any binop (currently bails out on div/rem/shift).


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

https://reviews.llvm.org/D144760

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  llvm/test/Transforms/InstCombine/vec_demanded_elts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144760.500870.patch
Type: text/x-patch
Size: 11901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230227/7d74cec0/attachment.bin>


More information about the llvm-commits mailing list