[all-commits] [llvm/llvm-project] 967c7b: [mlir] check for failures when packing function si...

ftynse via All-commits all-commits at lists.llvm.org
Tue Sep 15 03:31:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 967c7b6936a66878919568b94643c942cc7de69e
      https://github.com/llvm/llvm-project/commit/967c7b6936a66878919568b94643c942cc7de69e
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2020-09-15 (Tue, 15 Sep 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/invalid.mlir

  Log Message:
  -----------
  [mlir] check for failures when packing function sigunatures in std->llvm conversion

When packing function results into a structure during the standard-to-llvm
dialect conversion, do not assume the conversion was successful and propagate
nullptr as error state.

Fixes PR45184.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list