diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-11-13 14:33:43 -0800 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2020-11-13 14:49:33 -0800 |
commit | c9821cec7492f9ffb4586ece4a82fda1e5fe8e1e (patch) | |
tree | 4ae775c7fcb8b6e1e6039559a94e120ade1689a0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cfde3edeae4730aa44642c4835bcfa5a857ea8d4 (diff) | |
download | llvm-c9821cec7492f9ffb4586ece4a82fda1e5fe8e1e.zip llvm-c9821cec7492f9ffb4586ece4a82fda1e5fe8e1e.tar.gz llvm-c9821cec7492f9ffb4586ece4a82fda1e5fe8e1e.tar.bz2 |
[AMDGPU] Mark sin/cos load folding as modifying the function.
When the load value is folded into the sin/cos operation, the
AMDGPU library calls simplifier could still mark the function
as unmodified. Instead ensure if there is an early return,
return whether the load was folded into the sin/cos call.
Authored by MJDSys
Differential Revision: https://reviews.llvm.org/D91401
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions