[all-commits] [llvm/llvm-project] 365f4a: [AMDGPU][Attributor] Infer inreg attribute in `AMD...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Mon Aug 18 15:05:51 PDT 2025
Branch: refs/heads/users/shiltian/trivial-aa-uniform-argument
Home: https://github.com/llvm/llvm-project
Commit: 365f4acab9530dc85511b331b4bd9319171cab3b
https://github.com/llvm/llvm-project/commit/365f4acab9530dc85511b331b4bd9319171cab3b
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
A llvm/test/CodeGen/AMDGPU/aa-inreg-inference.ll
Log Message:
-----------
[AMDGPU][Attributor] Infer inreg attribute in `AMDGPUAttributor`
This patch introduces `AAAMDGPUUniformArgument` that can infer `inreg` function
argument attribute. The idea is, for a function argument, if the corresponding
call site arguments are always uniform, we can mark it as `inreg` thus pass it
via SGPR.
In addition, this AA is also able to propagate the inreg attribute if feasible.
Commit: 7b99ff9a5c815ec5b25d8d303959687635197e16
https://github.com/llvm/llvm-project/commit/7b99ff9a5c815ec5b25d8d303959687635197e16
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/test/CodeGen/AMDGPU/aa-inreg-inference.ll
M llvm/test/CodeGen/AMDGPU/attributor-noalias-addrspace.ll
Log Message:
-----------
fix comments
Commit: 3b36e243eff8570632c9e8409d8f716e4419223f
https://github.com/llvm/llvm-project/commit/3b36e243eff8570632c9e8409d8f716e4419223f
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
Log Message:
-----------
fix comments
Compare: https://github.com/llvm/llvm-project/compare/836e5900f40e...3b36e243eff8
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list