[Mlir-commits] [mlir] baba13e - [mlir][nvvm] Delete backslash
Guray Ozen
llvmlistbot at llvm.org
Mon Jul 17 08:57:09 PDT 2023
Author: Guray Ozen
Date: 2023-07-17T17:56:52+02:00
New Revision: baba13e9a19deff981bf5fc5534966ebf05de278
URL: https://github.com/llvm/llvm-project/commit/baba13e9a19deff981bf5fc5534966ebf05de278
DIFF: https://github.com/llvm/llvm-project/commit/baba13e9a19deff981bf5fc5534966ebf05de278.diff
LOG: [mlir][nvvm] Delete backslash
Delete the backslash. It was there to compile tablegen file. It looks like space also works fine.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D155474
Added:
Modified:
mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td b/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
index 5215a030454370..efdd3d691f9e30 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
@@ -1408,11 +1408,11 @@ def NVVM_CpAsyncBulkTensorGlobalToSharedClusterOp : NVVM_Op<"cp.async.bulk.tenso
std::string ptx = "cp.async.bulk.tensor.";
ptx += std::to_string(dim) + "d.";
ptx += "shared::cluster.global.mbarrier::complete_tx::bytes";
- if(dim == 1) ptx += " [%0], [%1, {%3}\], [%2];";
- if(dim == 2) ptx += " [%0], [%1, {%3, %4}\], [%2];";
- if(dim == 3) ptx += " [%0], [%1, {%3, %4, %5}\], [%2];";
- if(dim == 4) ptx += " [%0], [%1, {%3, %4, %5, %6}\], [%2];";
- if(dim == 5) ptx += " [%0], [%1, {%3, %4, %5, %6, %7}\], [%2];";
+ if(dim == 1) ptx += " [%0], [%1, {%3} ], [%2];";
+ if(dim == 2) ptx += " [%0], [%1, {%3, %4} ], [%2];";
+ if(dim == 3) ptx += " [%0], [%1, {%3, %4, %5} ], [%2];";
+ if(dim == 4) ptx += " [%0], [%1, {%3, %4, %5, %6} ], [%2];";
+ if(dim == 5) ptx += " [%0], [%1, {%3, %4, %5, %6, %7} ], [%2];";
return ptx;
}
}];
More information about the Mlir-commits
mailing list