[PATCH] D57372: Demanded elements support for masked.load and masked.gather

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 28 22:12:36 PST 2019


reames created this revision.
reames added reviewers: spatel, craig.topper, RKSimon.
Herald added subscribers: bollu, mcrosier.

Teach instcombine to propagate demanded elements through a masked load or masked gather instruction.

This is in the broader context of improving vector pointer instcombine under https://reviews.llvm.org/D57140.


https://reviews.llvm.org/D57372

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  test/Transforms/InstCombine/masked_intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57372.184017.patch
Type: text/x-patch
Size: 5440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190129/9c5755a9/attachment.bin>


More information about the llvm-commits mailing list