[PATCH] D73549: [Analysis] add optional index parameter to isSplatValue()

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 11:21:39 PST 2020


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

Patch updated:
Use ShuffleVectorInst API to make the code more flexible (should not conflict with D72467 <https://reviews.llvm.org/D72467>); this also allows removing the assert from the previous rev (similar assert is included within getMaskValue()).


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

https://reviews.llvm.org/D73549

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/unittests/Analysis/VectorUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73549.241776.patch
Type: text/x-patch
Size: 8855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200131/fba4bfc2/attachment.bin>


More information about the llvm-commits mailing list