aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorWenju He <wenju.he@intel.com>2023-11-13 13:28:56 +0800
committerGitHub <noreply@github.com>2023-11-13 13:28:56 +0800
commitfe146e9b59891e50bddc0e61037773999335e1fe (patch)
treed8ce453004a6699856fe45d11cb2e00a5f68cbd6 /flang/lib/Frontend/CompilerInvocation.cpp
parent63e13f2b7d3e2f52e7566914ad2513c769dd9f0a (diff)
downloadllvm-fe146e9b59891e50bddc0e61037773999335e1fe.zip
llvm-fe146e9b59891e50bddc0e61037773999335e1fe.tar.gz
llvm-fe146e9b59891e50bddc0e61037773999335e1fe.tar.bz2
[InferAddressSpaces] Fix constant replace to avoid modifying other functions (#70611)
A constant value is unique in llvm context. InferAddressSpaces was replacing its users in other functions as well. This leads to unexpected behavior in our downstream use case after the pass. InferAddressSpaces is a function passe, so it shall not modify functions other than currently processed one. Co-authored-by: Abhinav Gaba <abhinav.gaba@intel.com> --------- Co-authored-by: Abhinav Gaba <abhinav.gaba@intel.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions