[PATCH] D32019: [MVT][SVE] Scalable vector MVTs (3/3)

Graham Hunter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 03:08:38 PDT 2017


huntergr updated this revision to Diff 95916.
huntergr added a comment.
Herald added a subscriber: mgorny.

Added unit tests via gtest framework.
Changed getHalfNumVectorElementsVT to use 'EltCnt.Min' when determining whether the current vector length is evenly divisible.
Changed iterator names to be more obvious.


https://reviews.llvm.org/D32019

Files:
  include/llvm/CodeGen/MachineValueType.h
  include/llvm/CodeGen/ValueTypes.h
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  unittests/CodeGen/CMakeLists.txt
  unittests/CodeGen/ScalableVectorMVTsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32019.95916.patch
Type: text/x-patch
Size: 15697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/439b94ca/attachment.bin>


More information about the llvm-commits mailing list