aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-05-12 11:35:12 -0700
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2021-05-13 08:52:20 -0700
commit8f98356bb53dca07a86bf098556d446e0d5af6fe (patch)
treef577173877a5b0dcf133ae825d3942b0d7cd6ae3 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent6a67e05a26eb5f58665bd6d063b9f389e7dd28a7 (diff)
downloadllvm-8f98356bb53dca07a86bf098556d446e0d5af6fe.zip
llvm-8f98356bb53dca07a86bf098556d446e0d5af6fe.tar.gz
llvm-8f98356bb53dca07a86bf098556d446e0d5af6fe.tar.bz2
[AMDGPU] Only allow global fp atomics with unsafe option
Previously we were allowing to use FP atomics without -amdgpu-unsafe-fp-atomics option if a scope is less then system. This is not safe just as well if we have UC memory. This change only allows global and flat FP atomics with the unsafe option. Consequentially that makes a check for denorm mode redundant since we skip it with the unsafe option and do not have a way to produce these instructions without it anyway. Differential Revision: https://reviews.llvm.org/D102347
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions