[all-commits] [llvm/llvm-project] 665995: [mlir][Conversion] Allow lowering to fixed arrays ...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Fri Sep 15 02:34:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 665995b9182b3712c47e83a80125b88599dea726
      https://github.com/llvm/llvm-project/commit/665995b9182b3712c47e83a80125b88599dea726
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [mlir][Conversion] Allow lowering to fixed arrays of scalable vectors

This allows lowering vector types like: vector<3x[4]> or vector<3x2x[4]>
to LLVM IR, i.e. vectors where the trailing dim is scalable.

This is contingent on:
https://discourse.llvm.org/t/rfc-enable-arrays-of-scalable-vector-types/72935

More tests will be added in later patches, however, some MLIR fixes are
needed first.

Depends on: D158517

Reviewed By: awarzynski

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




More information about the All-commits mailing list