[all-commits] [llvm/llvm-project] 6771b9: [mlir][CAPI] Add mlirAttributeGetType function.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Thu Oct 15 18:35:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6771b98c4e4d5c0bd0a78a876bd212a76ec80a24
      https://github.com/llvm/llvm-project/commit/6771b98c4e4d5c0bd0a78a876bd212a76ec80a24
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2020-10-15 (Thu, 15 Oct 2020)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/include/mlir-c/StandardAttributes.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/CAPI/IR/StandardAttributes.cpp
    M mlir/test/CAPI/ir.c

  Log Message:
  -----------
  [mlir][CAPI] Add mlirAttributeGetType function.

* Also fixes the const-ness of the various DenseElementsAttr construction functions.
* Both issues identified when trying to use the DenseElementsAttr functions.

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




More information about the All-commits mailing list