[PATCH] D63138: [Analysis] add isSplatValue() for vectors in IR

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 08:01:46 PDT 2019


spatel updated this revision to Diff 204075.
spatel added a comment.

Patch updated:

1. Add text to header comment to indicate that this may be more powerful than getSplatValue().
2. Add TODO comment about recursing through several other types of operands.


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

https://reviews.llvm.org/D63138

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: D63138.204075.patch
Type: text/x-patch
Size: 10379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190611/e254fd2b/attachment.bin>


More information about the llvm-commits mailing list