[llvm] [AMDGPU] Add dereferenceable retAttr to a call to llvm.amdgcn.implicitarg.ptr (PR #182206)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 01:08:21 PST 2026
================
@@ -722,6 +722,34 @@ std::optional<Instruction *>
GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
Intrinsic::ID IID = II.getIntrinsicID();
switch (IID) {
+ case Intrinsic::amdgcn_implicitarg_ptr: {
+ // Not checking calling function's "amdgpu-no-implicitarg-ptr" attribute
+ // under the assumption that a call to this intrinsic is not present with
+ // that attribute.
----------------
arsenm wrote:
```suggestion
```
Not really relevant to this
https://github.com/llvm/llvm-project/pull/182206
More information about the llvm-commits
mailing list