[all-commits] [llvm/llvm-project] da289a: [mlir] Allow conversion to LLVM for ElementsAttr's...

Sean Silva via All-commits all-commits at lists.llvm.org
Wed Jul 7 11:16:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da289a174fc6617c7be37be2947480510fd4f02a
      https://github.com/llvm/llvm-project/commit/da289a174fc6617c7be37be2947480510fd4f02a
  Author: Sean Silva <silvasean at google.com>
  Date:   2021-07-07 (Wed, 07 Jul 2021)

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

  Log Message:
  -----------
  [mlir] Allow conversion to LLVM for ElementsAttr's with size 0

The code seems to correctly handle the case that this assertion was
guarding.

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




More information about the All-commits mailing list