From 4d30a245c9188166a6819db34269455ea75f318e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 7 Feb 2022 16:51:22 +0100 Subject: [PATCH] [mlir] Remove MatrixBuilder template argument I dropped this argument in cdc0573f753e639ed78f2a3645179ac2d2718fd0, but did not adjust mlir. (Or rather I did, but I modified a generated file ... oops) --- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td index 66d28c713bcf..164493720fe4 100644 --- a/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td +++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td @@ -1611,7 +1611,7 @@ def LLVM_MatrixColumnMajorLoadOp : LLVM_Op<"intr.matrix.column.major.load"> { let results = (outs LLVM_Type:$res); let builders = [LLVM_OneResultOpBuilder]; string llvmBuilder = [{ - llvm::MatrixBuilder mb(builder); + llvm::MatrixBuilder mb(builder); const llvm::DataLayout &dl = builder.GetInsertBlock()->getModule()->getDataLayout(); llvm::Align align = dl.getABITypeAlign( @@ -1637,7 +1637,7 @@ def LLVM_MatrixColumnMajorStoreOp : LLVM_Op<"intr.matrix.column.major.store"> { I1Attr:$isVolatile, I32Attr:$rows, I32Attr:$columns); let builders = [LLVM_VoidResultTypeOpBuilder, LLVM_ZeroResultOpBuilder]; string llvmBuilder = [{ - llvm::MatrixBuilder mb(builder); + llvm::MatrixBuilder mb(builder); const llvm::DataLayout &dl = builder.GetInsertBlock()->getModule()->getDataLayout(); llvm::Align align = dl.getABITypeAlign( @@ -1658,7 +1658,7 @@ def LLVM_MatrixMultiplyOp : LLVM_Op<"intr.matrix.multiply"> { let results = (outs LLVM_Type:$res); let builders = [LLVM_OneResultOpBuilder]; string llvmBuilder = [{ - llvm::MatrixBuilder mb(builder); + llvm::MatrixBuilder mb(builder); $res = mb.CreateMatrixMultiply( $lhs, $rhs, $lhs_rows, $lhs_columns, $rhs_columns); @@ -1674,7 +1674,7 @@ def LLVM_MatrixTransposeOp : LLVM_Op<"intr.matrix.transpose"> { let results = (outs LLVM_Type:$res); let builders = [LLVM_OneResultOpBuilder]; string llvmBuilder = [{ - llvm::MatrixBuilder mb(builder); + llvm::MatrixBuilder mb(builder); $res = mb.CreateMatrixTranspose( $matrix, $rows, $columns); }];