[PATCH] D77739: [InstCombine] replace undef in vector constant for safe shift transform (PR45447)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 13:03:04 PDT 2020


spatel planned changes to this revision.
spatel added a comment.

Thinking about this again...assuming that we know what getSafeVectorConstantForBinop() is going to return is dirty. Let's just replace undefs with the values we want.


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

https://reviews.llvm.org/D77739





More information about the llvm-commits mailing list