[Mlir-commits] [mlir] [mlir][gpu] Fix bug with GPU hardware intrinsic global location (PR #144923)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jun 19 12:26:16 PDT 2025


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 HEAD~1 HEAD --extensions h -- mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
index b26817549..64cf09e60 100644
--- a/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
+++ b/mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
@@ -166,8 +166,8 @@ public:
     OpBuilder b(parentFunc);
 
     // Create a valid global location removing any metadata attached to the
-    // location as debug info metadata inside of a function cannot be used outside
-    // of that function.
+    // location as debug info metadata inside of a function cannot be used
+    // outside of that function.
     auto globalloc = op->getLoc()->findInstanceOfOrUnknown<FileLineColLoc>();
     return b.create<LLVMFuncOp>(globalloc, funcName, funcType);
   }

``````````

</details>


https://github.com/llvm/llvm-project/pull/144923


More information about the Mlir-commits mailing list