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 4cb2a519db10f54815c8a4ccd5accbedc1cdfd07 9a8925b18e609ac646b2c16da81264a261545513 --extensions cpp,h,c -- clang/lib/CodeGen/CGExprScalar.cpp clang/test/CodeGen/constrained-math-builtins.c llvm/include/llvm/Bitcode/LLVMBitCodes.h llvm/lib/Bitcode/Writer/BitcodeWriter.cpp llvm/lib/Transforms/Utils/CodeExtractor.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 14d73de055..367ca42053 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -4121,9 +4121,11 @@ static Value* buildFMulAdd(llvm::Instruction *MulOp, Value *Addend, Addend->getType()), {MulOp0, MulOp1, Addend}); if (negMul) - dyn_cast<llvm::CallBase>(FMulAdd)->addParamAttr(0, llvm::Attribute::Negated); + dyn_cast<llvm::CallBase>(FMulAdd)->addParamAttr(0, + llvm::Attribute::Negated); if (negAdd) - dyn_cast<llvm::CallBase>(FMulAdd)->addParamAttr(2, llvm::Attribute::Negated); + dyn_cast<llvm::CallBase>(FMulAdd)->addParamAttr(2, + llvm::Attribute::Negated); } else { FMulAdd = Builder.CreateCall( CGF.CGM.getIntrinsic(llvm::Intrinsic::fmuladd, Addend->getType()), `````````` </details> https://github.com/llvm/llvm-project/pull/121038 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits