[clang] [llvm] [AMDGPU][Clang] Add check of size for __builtin_amdgcn_global_load_lds (PR #93064)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 09:49:49 PDT 2024


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 4ea21a0261cd8599a9ffa15f5c554ab0d4bbbe27 cf074221241e4d5c83426c58f70438fb592ca7ad -- clang/lib/CodeGen/CGBuiltin.cpp
``````````

</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 b39b9d4f0a..4a8ac5ff9e 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -2538,8 +2538,7 @@ static RValue EmitHipStdParUnsupportedBuiltin(CodeGenFunction *CGF,
 }
 
 static void buildInstrinsicCallArgs(CodeGenFunction &CGF, const CallExpr *E,
-                                    unsigned BuiltinID,
-                                    Function *Callee,
+                                    unsigned BuiltinID, Function *Callee,
                                     SmallVectorImpl<Value *> &Args) {
   // Find out if any arguments are required to be integer constant
   // expressions.
@@ -6064,7 +6063,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
   }
 
   if (IntrinsicID != Intrinsic::not_intrinsic) {
-    SmallVector<Value*, 16> Args;
+    SmallVector<Value *, 16> Args;
     Function *F = CGM.getIntrinsic(IntrinsicID);
     buildInstrinsicCallArgs(*this, E, BuiltinID, F, Args);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/93064


More information about the llvm-commits mailing list