[llvm] [AMDGPU] Propagate alias information in AMDGPULowerKernelArguments. (PR #144714)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 20:17:37 PDT 2025


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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/Transforms/Utils/Cloning.h llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp llvm/lib/Transforms/Utils/InlineFunction.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index ffa23823b..377cdad45 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -1394,11 +1394,11 @@ void llvm::addAliasScopeMetadata(CallBase &CB, ValueToValueMapTy &VMap,
 }
 
 void llvm::addAliasScopeMetadata(Function &F) {
-  addAliasScopeMetadataImpl(/*CB=*/ nullptr, &F, /*VMap=*/ nullptr,
+  addAliasScopeMetadataImpl(/*CB=*/nullptr, &F, /*VMap=*/nullptr,
                             F.getParent()->getDataLayout(),
-                            /*CalleeAAR=*/ nullptr,
-                            /*InlinedFunctionInfo=*/ nullptr,
-                            /*UseNoAliasIntrinsic=*/ false);
+                            /*CalleeAAR=*/nullptr,
+                            /*InlinedFunctionInfo=*/nullptr,
+                            /*UseNoAliasIntrinsic=*/false);
 }
 
 static bool MayContainThrowingOrExitingCallAfterCB(CallBase *Begin,

``````````

</details>


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


More information about the llvm-commits mailing list