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/lib/CodeGen/TargetBuiltins/ARM.cpp clang/lib/Headers/arm64intr.h 
clang/lib/Sema/SemaARM.cpp clang/test/CodeGen/arm64-microsoft-intrinsics.c 
clang/test/CodeGen/builtins-arm-exclusive.c 
clang/test/Sema/builtins-microsoft-arm64.c 
llvm/lib/Target/AArch64/AArch64ISelLowering.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/TargetBuiltins/ARM.cpp 
b/clang/lib/CodeGen/TargetBuiltins/ARM.cpp
index 51d1b214d..cda7572f1 100644
--- a/clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+++ b/clang/lib/CodeGen/TargetBuiltins/ARM.cpp
@@ -5416,9 +5416,9 @@ Value *CodeGenFunction::EmitAArch64BuiltinExpr(unsigned 
BuiltinID,
         llvm::IntegerType::get(getLLVMContext(), getContext().getTypeSize(Ty));
     StoreVal = Builder.CreateZExtOrBitCast(StoreVal, Int64Ty);
 
-    Function *F = CGM.getIntrinsic(
-        IsRelease ? Intrinsic::aarch64_stlxr : Intrinsic::aarch64_stxr,
-        StoreAddr->getType());
+    Function *F = CGM.getIntrinsic(IsRelease ? Intrinsic::aarch64_stlxr
+                                             : Intrinsic::aarch64_stxr,
+                                   StoreAddr->getType());
     CallInst *CI = Builder.CreateCall(F, {StoreVal, StoreAddr}, "stxr");
     CI->addParamAttr(
         1, Attribute::get(getLLVMContext(), Attribute::ElementType, StoreTy));

``````````

</details>


https://github.com/llvm/llvm-project/pull/194635
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to