[clang] [llvm] [AMDGPU] Implement variadic functions by IR lowering (PR #93362)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 18:54:45 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 560c2fd3d427a5e2dc2361abde1142f3fda40253 6d00264803682d44cb68a8be6a6ad605ea439bd6 -- clang/test/CodeGen/voidptr-vaarg.c clang/test/CodeGenCXX/inline-then-fold-variadics.cpp llvm/include/llvm/Transforms/IPO/ExpandVariadics.h llvm/lib/Transforms/IPO/ExpandVariadics.cpp clang/lib/CodeGen/Targets/AMDGPU.cpp llvm/include/llvm/InitializePasses.h llvm/lib/Passes/PassBuilder.cpp llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/IPO/ExpandVariadics.cpp b/llvm/lib/Transforms/IPO/ExpandVariadics.cpp
index 65b53d2f49..cc97d3e27e 100644
--- a/llvm/lib/Transforms/IPO/ExpandVariadics.cpp
+++ b/llvm/lib/Transforms/IPO/ExpandVariadics.cpp
@@ -116,7 +116,7 @@ public:
// initialized contiguous memory region.
// Return the value to pass as the va_list argument
virtual Value *initializeVaList(LLVMContext &Ctx, IRBuilder<> &Builder,
- AllocaInst * VaList, Value * Buffer) = 0;
+ AllocaInst *VaList, Value *Buffer) = 0;
struct VAArgSlotInfo {
Align Align; // With respect to the call frame
``````````
</details>
https://github.com/llvm/llvm-project/pull/93362
More information about the llvm-commits
mailing list