[PATCH] D48236: [IR] move shuffle mask queries from TTI to ShuffleVectorInst

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 10:43:54 PDT 2018


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

Patch updated:

1. Improved header comment examples (use 'undef' rather than -1).
2. Reimplemented logic to maximize code reuse (make use of isSingleSourceMask() internally).
3. Added 'TODO' notes about allowing size-changing shuffles.


https://reviews.llvm.org/D48236

Files:
  include/llvm/IR/Instructions.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/IR/Instructions.cpp
  unittests/IR/InstructionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48236.151942.patch
Type: text/x-patch
Size: 25942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/21932c35/attachment.bin>


More information about the llvm-commits mailing list