[Mlir-commits] [mlir] [MLIR:LLVM] Add UWTableKind attribute (PR #135811)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Apr 15 09:40:10 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 cpp -- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
index 6531b233b..d39ec0e80 100644
--- a/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
@@ -1603,7 +1603,8 @@ static void convertFunctionAttributes(LLVMFuncOp func,
llvmFunc->addFnAttr("frame-pointer", stringifyFramePointerKind(
fpAttr.getFramePointerKind()));
if (UWTableKindAttr uwTableKindAttr = func.getUwtableKindAttr())
- llvmFunc->setUWTableKind(convertUWTableKindToLLVM(uwTableKindAttr.getUwtableKind()));
+ llvmFunc->setUWTableKind(
+ convertUWTableKindToLLVM(uwTableKindAttr.getUwtableKind()));
convertFunctionMemoryAttributes(func, llvmFunc);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/135811
More information about the Mlir-commits
mailing list