aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorShilei Tian <i@tianshilei.me>2024-12-11 16:47:51 -0500
committerGitHub <noreply@github.com>2024-12-11 16:47:51 -0500
commit7dbd6cd2946ec3a9b4ad2dfd7ead177baac15bd7 (patch)
tree83ce32d3d3c6b246802f3862d11bfebb40e2b900 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentd5b7b970347fd4aa5591bfee38be4d8e7a53b134 (diff)
downloadllvm-7dbd6cd2946ec3a9b4ad2dfd7ead177baac15bd7.zip
llvm-7dbd6cd2946ec3a9b4ad2dfd7ead177baac15bd7.tar.gz
llvm-7dbd6cd2946ec3a9b4ad2dfd7ead177baac15bd7.tar.bz2
[AMDGPU][Attributor] Make `AAAMDFlatWorkGroupSize` honor existing attribute (#114357)
If a function has `amdgpu-flat-work-group-size`, honor it in `initialize` by taking its value directly; otherwise, it uses the default range as a starting point. We will no longer manipulate the known range, which can cause issues because the known range is a "throttle" to the assumed range such that the assumed range can't get widened properly in `updateImpl` if the known range is not set properly for whatever reasons. Another benefit of not touching the known range is, if we indicate pessimistic state, it also invalidates the AA such that `manifest` will not be called. Since we honor the attribute, we don't want and will not add any half-baked attribute added to a function.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions