aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Source.cpp
diff options
context:
space:
mode:
authorShilei Tian <i@tianshilei.me>2025-08-18 22:01:47 -0400
committerGitHub <noreply@github.com>2025-08-18 22:01:47 -0400
commit84ab301554f8b8b16b94263a57b091b07e9204f2 (patch)
tree5bce3d1345243745ffa367dc900243ad0f34db19 /clang/lib/AST/ByteCode/Source.cpp
parentcc68e4534378006c16148f52d2dbaf2080ac9f57 (diff)
downloadllvm-84ab301554f8b8b16b94263a57b091b07e9204f2.zip
llvm-84ab301554f8b8b16b94263a57b091b07e9204f2.tar.gz
llvm-84ab301554f8b8b16b94263a57b091b07e9204f2.tar.bz2
[AMDGPU][Attributor] Infer inreg attribute in `AMDGPUAttributor` (#146720)
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.
Diffstat (limited to 'clang/lib/AST/ByteCode/Source.cpp')
0 files changed, 0 insertions, 0 deletions