[PATCH] D57468: Strengthen handling of GEPs and generic calls for all undef lanes

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 10:21:33 PDT 2019


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp:1686
+  // If we've proven all of the lanes undef, return an undef value.
+  // TODO: Interest w/demanded lanes
+  if (UndefElts.isAllOnesValue())
----------------
Interest -> Intersect?


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

https://reviews.llvm.org/D57468





More information about the llvm-commits mailing list