[all-commits] [llvm/llvm-project] a611f9: [mlir] Fix call op conversion in bare-ptr calling ...

Diego Caballero via All-commits all-commits at lists.llvm.org
Fri Oct 2 08:59:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a611f9a5c689995f21204139eb2667b8ce4c9dd2
      https://github.com/llvm/llvm-project/commit/a611f9a5c689995f21204139eb2667b8ce4c9dd2
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir

  Log Message:
  -----------
  [mlir] Fix call op conversion in bare-ptr calling convention

We hit an llvm_unreachable related to unranked memrefs for call ops
with scalar types. Removing the llvm_unreachable since the conversion
should gracefully bail out in the presence of unranked memrefs. Adding
tests to verify that.

Reviewed By: ftynse

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




More information about the All-commits mailing list