[llvm] [IR][NFC] Cleanup CmpInst signatures / code docs (PR #86441)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 24 08:33:58 PDT 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 b3fe27f2be0585d5d2ad46f96956ccfd76ca003e faa079824cbd4df2ffa792bca2ebab7700f59c75 -- llvm/include/llvm/IR/InstrTypes.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h
index 27c67c9b24..d1c2b69bb2 100644
--- a/llvm/include/llvm/IR/InstrTypes.h
+++ b/llvm/include/llvm/IR/InstrTypes.h
@@ -1046,17 +1046,16 @@ public:
/// instruction into a BasicBlock right before the specified instruction.
/// The specified Instruction is allowed to be a dereferenced end iterator.
/// Create a CmpInst
- static CmpInst *Create(OtherOps Op,
- Predicate Pred, Value *S1,
- Value *S2, const Twine &Name = "",
+ static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, Value *S2,
+ const Twine &Name = "",
Instruction *InsertBefore = nullptr);
/// Construct a compare instruction, given the opcode, the predicate and the
/// two operands. Also automatically insert this instruction to the end of
/// the BasicBlock specified.
/// Create a CmpInst
- static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1,
- Value *S2, const Twine &Name, BasicBlock *InsertAtEnd);
+ static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, Value *S2,
+ const Twine &Name, BasicBlock *InsertAtEnd);
/// Construct a compare instruction, given the opcode, the predicate,
/// the two operands and the instruction to copy the flags from. Optionally
``````````
</details>
https://github.com/llvm/llvm-project/pull/86441
More information about the llvm-commits
mailing list