aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-01-11 11:02:26 +0100
committerNikita Popov <npopov@redhat.com>2022-01-26 11:15:03 +0100
commit44cfc3a8169cfa3f6a2824ed9cee9ff269f5a8ea (patch)
tree92c69bb6188c818afdb8ae92ad818891a6bb2ad8 /llvm/lib/Support/MemoryBuffer.cpp
parent7c02776567cc9561e6691dc05235799da45e72d6 (diff)
downloadllvm-44cfc3a8169cfa3f6a2824ed9cee9ff269f5a8ea.zip
llvm-44cfc3a8169cfa3f6a2824ed9cee9ff269f5a8ea.tar.gz
llvm-44cfc3a8169cfa3f6a2824ed9cee9ff269f5a8ea.tar.bz2
[LICM] Generalize unwinding check during scalar promotion
This extract a common isNotVisibleOnUnwind() helper into AliasAnalysis, which handles allocas, byval arguments and noalias calls. After D116998 this could also handle sret arguments. We have similar logic in DSE and MemCpyOpt, which will be switched to use this helper as well. The noalias call case is a bit different from the others, because it also requires that the object is not captured. The caller is responsible for doing the appropriate check. Differential Revision: https://reviews.llvm.org/D117000
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions