[all-commits] [llvm/llvm-project] 7c5645: [mlir] Fix scalable type translation in splat elem...

jsetoain via All-commits all-commits at lists.llvm.org
Thu Jan 13 03:22:12 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c56458616602b91a73665b259e840ca767eae15
      https://github.com/llvm/llvm-project/commit/7c56458616602b91a73665b259e840ca767eae15
  Author: Javier Setoain <javier.setoain at gmail.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir-types.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir] Fix scalable type translation in splat element attr

LLVM Dialect Constant Op translations assume that if the attribute is a
vector, it's a fixed length one, generating an invalid translation for
constant scalable vector initializations.

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




More information about the All-commits mailing list