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 c,cpp --
clang/test/CIR/CodeGen/X86/builtin_multishift.c
clang/lib/CIR/CodeGen/CIRGenBuiltinX86.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/CIR/CodeGen/CIRGenBuiltinX86.cpp
b/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
index 4cbeecf0d..eae29a364 100644
--- a/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
@@ -882,11 +882,14 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
getContext().BuiltinInfo.getName(builtinID));
return {};
case X86::BI__builtin_ia32_vpmultishiftqb128:
- return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_128",
ops[0].getType(), ops);
+ return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_128",
+ ops[0].getType(), ops);
case X86::BI__builtin_ia32_vpmultishiftqb256:
- return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_256",
ops[0].getType(), ops);
+ return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_256",
+ ops[0].getType(), ops);
case X86::BI__builtin_ia32_vpmultishiftqb512:
- return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_512",
ops[0].getType(), ops);
+ return emitIntrinsicCallOp(*this, expr, "x86_avx512_pmultishift_qb_512",
+ ops[0].getType(), ops);
case X86::BI__builtin_ia32_vpshufbitqmb128_mask:
case X86::BI__builtin_ia32_vpshufbitqmb256_mask:
case X86::BI__builtin_ia32_vpshufbitqmb512_mask:
``````````
</details>
https://github.com/llvm/llvm-project/pull/169618
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits