[all-commits] [llvm/llvm-project] cbf08d: [mlir] Fix LLVM intrinsic convesion generator for ...

Kariddi via All-commits all-commits at lists.llvm.org
Tue Jan 21 11:53:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cbf08d0f5751696d7ada90644eebfbef6df7a3ae
      https://github.com/llvm/llvm-project/commit/cbf08d0f5751696d7ada90644eebfbef6df7a3ae
  Author: Marcello Maggioni <hayarms at gmail.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M mlir/test/mlir-tblgen/llvm-intrinsics.td
    M mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp

  Log Message:
  -----------
  [mlir] Fix LLVM intrinsic convesion generator for overloadable types.

Summary:
If an intrinsic has overloadable types like llvm_anyint_ty or
llvm_anyfloat_ty then to getDeclaration() we need to pass a list
of the types that are "undefined" essentially concretizing them.

This patch add support for deriving such types from the MLIR op
that has been matched.

Reviewers: andydavis1, ftynse, nicolasvasilache, antiagainst

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list