[all-commits] [llvm/llvm-project] bd8fcf: [mlir][python] expose LLVMStructType API (#81672)

ftynse via All-commits all-commits at lists.llvm.org
Wed Feb 14 06:03:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd8fcf75df11406527de423daa63e21c3ec8609b
      https://github.com/llvm/llvm-project/commit/bd8fcf75df11406527de423daa63e21c3ec8609b
  Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M mlir/include/mlir-c/Dialect/LLVM.h
    A mlir/lib/Bindings/Python/DialectLLVM.cpp
    M mlir/lib/CAPI/Dialect/LLVM.cpp
    M mlir/python/CMakeLists.txt
    M mlir/python/mlir/dialects/llvm.py
    M mlir/test/CAPI/llvm.c
    M mlir/test/python/dialects/llvm.py

  Log Message:
  -----------
  [mlir][python] expose LLVMStructType API (#81672)

Expose the API for constructing and inspecting StructTypes from the LLVM
dialect. Separate constructor methods are used instead of overloads for
better readability, similarly to IntegerType.




More information about the All-commits mailing list