[Mlir-commits] [mlir] [mlir][LLVM] Add disjoint flag (PR #115855)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Nov 12 03:24:56 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 e385e0d3e71e17da0b2023f480259c95923707bd b1ae98aa2d559dc8d081d9ec1078bc22f56b9d4c --extensions h,cpp -- mlir/include/mlir/Target/LLVMIR/ModuleImport.h mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h mlir/lib/Target/LLVMIR/ModuleImport.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/ModuleImport.cpp b/mlir/lib/Target/LLVMIR/ModuleImport.cpp
index 5592cc7f5d..06a4aa59f9 100644
--- a/mlir/lib/Target/LLVMIR/ModuleImport.cpp
+++ b/mlir/lib/Target/LLVMIR/ModuleImport.cpp
@@ -689,7 +689,8 @@ void ModuleImport::setExactFlag(llvm::Instruction *inst, Operation *op) const {
iface.setIsExact(inst->isExact());
}
-void ModuleImport::setDisjointFlag(llvm::Instruction *inst, Operation *op) const {
+void ModuleImport::setDisjointFlag(llvm::Instruction *inst,
+ Operation *op) const {
auto iface = cast<DisjointFlagInterface>(op);
auto inst_disjoint = cast<llvm::PossiblyDisjointInst>(inst);
``````````
</details>
https://github.com/llvm/llvm-project/pull/115855
More information about the Mlir-commits
mailing list