[all-commits] [llvm/llvm-project] 76b85d: [MLIR][CAPI] add C API typedef to fix downstream C...

Bangtian Liu via All-commits all-commits at lists.llvm.org
Fri Apr 11 08:17:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76b85d3a27d9de4667cdf6de158111830724f34d
      https://github.com/llvm/llvm-project/commit/76b85d3a27d9de4667cdf6de158111830724f34d
  Author: Bangtian Liu <liubangtian at gmail.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M mlir/include/mlir-c/Dialect/Linalg.h

  Log Message:
  -----------
  [MLIR][CAPI] add C API typedef to fix downstream C API usage (#135380)

This PR is after #135253 and #134935 to fix the error reported by
https://github.com/llvm/llvm-project/pull/135253#issuecomment-2796077024.
This PR Adds typedef declarations for `MlirLinalgContractionDimensions`
and `MlirLinalgConvolutionDimensions` in the C API to ensure
compatibility with pure C code.

I confirm that this fix resolves the reported error based on my testing.

Signed-off-by: Bangtian Liu <liubangtian at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list