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 --
clang/test/CIR/CodeGen/ARM/arm-aggregate-copy-size.cpp
clang/test/CIR/CodeGen/ARM/arm-record-layout.cpp
clang/test/CIR/CodeGen/ARM/arm-throw-alloc-size.cpp
clang/test/CIR/CodeGen/pointer-width-32bit.cpp
clang/test/CIR/CodeGenBuiltins/ARM/arm-neon-vget-lane.c
clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
clang/lib/CIR/CodeGen/CIRGenFunction.h clang/lib/CIR/CodeGen/CIRGenerator.cpp
clang/lib/CIR/Dialect/IR/CIRTypes.cpp
clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.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/CIRGenBuiltinAArch64.cpp
b/clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
index 2432b534c..4a502c807 100644
--- a/clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
@@ -1850,8 +1850,9 @@ CIRGenFunction::emitARMBuiltinExpr(unsigned builtinID,
const CallExpr *expr,
llvm::Triple::ArchType arch) {
// Only the NEON lane-read intrinsics are implemented for 32-bit ARM so far;
// they lower to a vector element extraction, matching classic CodeGen
- // (clang/lib/CodeGen/TargetBuiltins/ARM.cpp) and the AArch64 path. Every
other
- // ARM builtin is reported as not-yet-implemented rather than silently
ignored.
+ // (clang/lib/CodeGen/TargetBuiltins/ARM.cpp) and the AArch64 path. Every
+ // other ARM builtin is reported as not-yet-implemented rather than silently
+ // ignored.
switch (builtinID) {
case NEON::BI__builtin_neon_vget_lane_i8:
case NEON::BI__builtin_neon_vget_lane_i16:
``````````
</details>
https://github.com/llvm/llvm-project/pull/204360
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits