[Mlir-commits] [mlir] Restore: [mlir][ROCDL] Stop setting amdgpu-implicitarg-num-bytes (PR #79129)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Jan 23 04:54:38 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 6b02d2f86389d68a0cf2162377c5dda05bd4b68a 763993a264c697f20b3098dd04e723ef31953399 -- mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp b/mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
index 0cbb3da79d..cbce23fd58 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.cpp
@@ -99,7 +99,6 @@ public:
if (!llvmFunc->hasFnAttribute("amdgpu-flat-work-group-size")) {
llvmFunc->addFnAttr("amdgpu-flat-work-group-size", "1,256");
}
-
}
// Override flat-work-group-size
// TODO: update clients to rocdl.flat_work_group_size instead,
``````````
</details>
https://github.com/llvm/llvm-project/pull/79129
More information about the Mlir-commits
mailing list