[all-commits] [llvm/llvm-project] bd7f7e: [GlobalISel] Add scalable property to LLT types.

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Jun 22 01:25:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd7f7e2ebae4e5bc95f0ca65efbc72575ca31c14
      https://github.com/llvm/llvm-project/commit/bd7f7e2ebae4e5bc95f0ca65efbc72575ca31c14
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

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

  Log Message:
  -----------
  [GlobalISel] Add scalable property to LLT types.

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.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D104450




More information about the All-commits mailing list