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 35f6cc6af09f48f9038fce632815a2ad6ffe8689 
f30d98e64791daa9461b4d0cc27acd69d9cb2860 --extensions cpp,h,c -- 
clang/test/CodeGen/X86/strictfp_builtins.c 
clang/test/CodeGen/strictfp_builtins.c llvm/include/llvm/AsmParser/LLParser.h 
llvm/include/llvm/IR/AutoUpgrade.h llvm/include/llvm/IR/FPEnv.h 
llvm/include/llvm/IR/IRBuilder.h llvm/include/llvm/IR/InstrTypes.h 
llvm/include/llvm/IR/IntrinsicInst.h llvm/include/llvm/IR/LLVMContext.h 
llvm/lib/AsmParser/LLParser.cpp llvm/lib/Bitcode/Reader/BitcodeReader.cpp 
llvm/lib/IR/AutoUpgrade.cpp llvm/lib/IR/FPEnv.cpp llvm/lib/IR/IRBuilder.cpp 
llvm/lib/IR/Instructions.cpp llvm/lib/IR/IntrinsicInst.cpp 
llvm/lib/IR/LLVMContext.cpp llvm/lib/IR/Verifier.cpp 
llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp 
llvm/lib/Transforms/Utils/CloneFunction.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp 
b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index c31e37e9b2..c6396926e2 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -451,7 +451,7 @@ 
PruningFunctionCloner::cloneInstruction(BasicBlock::const_iterator II) {
       }
       Args.push_back(
           MetadataAsValue::get(Ctx, MDString::get(Ctx, "fpexcept.ignore")));
-        addFPExceptionBundle(Ctx, Bundles, fp::ExceptionBehavior::ebIgnore);
+      addFPExceptionBundle(Ctx, Bundles, fp::ExceptionBehavior::ebIgnore);
       auto *NewConstrainedInst =
           CallInst::Create(IFn, Args, Bundles, OldInst.getName() + ".strict");
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/109798
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to