From fa68c7d48c2a6f02bcc1cc6514589c046f5653a1 Mon Sep 17 00:00:00 2001 From: "enzyme-ci-bot[bot]" <78882869+enzyme-ci-bot[bot]@users.noreply.github.com> Date: Wed, 26 Nov 2025 00:49:07 +0000 Subject: [PATCH] Regenerate MLIR Bindings --- src/mlir/Dialects/EnzymeXLA.jl | 8 +++++++- src/mlir/libMLIR_h.jl | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/mlir/Dialects/EnzymeXLA.jl b/src/mlir/Dialects/EnzymeXLA.jl index 65908921b4..ee52d07956 100755 --- a/src/mlir/Dialects/EnzymeXLA.jl +++ b/src/mlir/Dialects/EnzymeXLA.jl @@ -1074,7 +1074,11 @@ end """ `blas_syrk` -C := alpha*A*A^T + beta*C, or C := alpha*A^T*A + beta*C, where alpha and beta are scalars. C must be a n x n symmetric matrix.\" +C := alpha*A*A^T + beta*C, or C := alpha*A^T*A + beta*C, where alpha and beta are +scalars. C must be a n x n symmetric matrix. + +If `fill` is present, then both the upper and lower triangles of the matrix are filled. +Otherwise the values in the non-uplo part of the matrix are undefined. """ function blas_syrk( A::Value, @@ -1084,6 +1088,7 @@ function blas_syrk( output::IR.Type, uplo, transpose=nothing, + fill=nothing, location=Location(), ) op_ty_results = IR.Type[output,] @@ -1092,6 +1097,7 @@ function blas_syrk( successors = Block[] attributes = NamedAttribute[namedattribute("uplo", uplo),] !isnothing(transpose) && push!(attributes, namedattribute("transpose", transpose)) + !isnothing(fill) && push!(attributes, namedattribute("fill", fill)) return create_operation( "enzymexla.blas.syrk", diff --git a/src/mlir/libMLIR_h.jl b/src/mlir/libMLIR_h.jl index 6806360815..4f6cd2b4d6 100755 --- a/src/mlir/libMLIR_h.jl +++ b/src/mlir/libMLIR_h.jl @@ -11647,8 +11647,8 @@ function enzymexlaLapackSideAttrGet(ctx, left_side) )::MlirAttribute end -function enzymexlaLapackUploAttrGet(ctx, up) - @ccall mlir_c.enzymexlaLapackUploAttrGet(ctx::MlirContext, up::UInt8)::MlirAttribute +function enzymexlaLapackUploAttrGet(ctx, mode) + @ccall mlir_c.enzymexlaLapackUploAttrGet(ctx::MlirContext, mode::Int32)::MlirAttribute end function enzymexlaQRAlgorithmAttrGet(ctx, mode)