[PATCH] D104450: [GlobalISel] Add scalable property to LLT types.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 05:45:51 PDT 2021


sdesmalen created this revision.
Herald added subscribers: dexonsmith, hiraditya, rovka.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch aims to add the scalable property to LLT. The rest of the
patch-series changes the interfaces to take/return ElementCount and
TypeSize, which both have the ability to represent the scalable property.

The changes are mostly mechanical and aim to be non-functional changes
for fixed-width vectors.

For scalable vectors some unit tests have been added, but no effort has
been put into making any of the GlobalISel algorithms work with scalable
vectors yet. That will be left as future work.

The work is split into a series of 5 patches to make reviews easier.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104450

Files:
  llvm/include/llvm/Support/LowLevelTypeImpl.h
  llvm/lib/CodeGen/LowLevelType.cpp
  llvm/lib/Support/LowLevelType.cpp
  llvm/unittests/CodeGen/LowLevelTypeTest.cpp
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104450.352687.patch
Type: text/x-patch
Size: 18609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/615e85a7/attachment.bin>


More information about the llvm-commits mailing list