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,cpp -- llvm/include/llvm/Transforms/IPO/LowerTypeTests.h llvm/lib/Passes/PassBuilderPipelines.cpp llvm/lib/Transforms/IPO/LowerTypeTests.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/Transforms/IPO/LowerTypeTests.cpp b/llvm/lib/Transforms/IPO/LowerTypeTests.cpp index 907a664b0..26238acbb 100644 --- a/llvm/lib/Transforms/IPO/LowerTypeTests.cpp +++ b/llvm/lib/Transforms/IPO/LowerTypeTests.cpp @@ -2508,8 +2508,8 @@ PreservedAnalyses SimplifyTypeTestsPass::run(Module &M, }; for (User *U : make_early_inc_range(GV.users())) { if (auto *CI = dyn_cast<ICmpInst>(U)) { - if (CI->getPredicate() == CmpInst::ICMP_EQ && - MaySimplifyPtr(CI->getOperand(0))) { + if (CI->getPredicate() == CmpInst::ICMP_EQ && + MaySimplifyPtr(CI->getOperand(0))) { // This is an equality comparison (TypeTestResolution::Single case in // lowerTypeTestCall). In this case we just replace the comparison // with true. @@ -2538,8 +2538,8 @@ PreservedAnalyses SimplifyTypeTestsPass::run(Module &M, if (U.getOperandNo() == 1 && CI && CI->getPredicate() == CmpInst::ICMP_EQ && MaySimplifyInt(CI->getOperand(0))) { - // This is an equality comparison. Unlike in the case above it remained - // as an integer compare. + // This is an equality comparison. Unlike in the case above it + // remained as an integer compare. CI->replaceAllUsesWith(ConstantInt::getTrue(M.getContext())); CI->eraseFromParent(); Changed = true; `````````` </details> https://github.com/llvm/llvm-project/pull/141327 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits