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 origin/main HEAD --extensions h,c,cpp,cl --
clang/lib/CodeGen/CGBuiltin.cpp clang/test/CodeGen/RISCV/math-builtins.c
clang/test/CodeGen/builtins-elementwise-math.c clang/test/CodeGen/builtins.c
clang/test/CodeGen/constrained-math-builtins.c
clang/test/CodeGen/math-builtins-long.c
clang/test/CodeGen/strictfp-elementwise-builtins.cpp
clang/test/CodeGenOpenCL/builtins-f16.cl
clang/test/Headers/amdgcn_openmp_device_math_constexpr.cpp
llvm/include/llvm/IR/IRBuilder.h llvm/lib/IR/IRBuilder.cpp
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index e55699d5e..c9955a96b 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -611,8 +611,8 @@ static Value *emitBinaryMaybeConstrainedFPBuiltin(
CodeGenFunction::CGFPOptionsRAII FPOptsRAII(CGF, E);
if (CGF.Builder.getIsFPConstrained()) {
Function *F = CGF.CGM.getIntrinsic(ConstrainedIntrinsicID,
Src0->getType());
- return CGF.Builder.CreateConstrainedFPCall(F, {Src0, Src1}, "",
- std::nullopt, std::nullopt,
&FMF);
+ return CGF.Builder.CreateConstrainedFPCall(
+ F, {Src0, Src1}, "", std::nullopt, std::nullopt, &FMF);
} else {
Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType());
return CGF.Builder.CreateCall(F, {Src0, Src1}, "", nullptr, &FMF);
``````````
</details>
https://github.com/llvm/llvm-project/pull/113133
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits