diff options
author | Florian Hahn <flo@fhahn.com> | 2020-08-01 20:38:38 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-08-01 20:43:19 +0100 |
commit | 05b44f7eaebfbca19999fde149c4c586fc965015 (patch) | |
tree | 8a50409cbb3ec8068a25865a2728fc5f46751e65 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 82a5c848e7f531ee636f643450072059397ac90c (diff) | |
download | llvm-05b44f7eaebfbca19999fde149c4c586fc965015.zip llvm-05b44f7eaebfbca19999fde149c4c586fc965015.tar.gz llvm-05b44f7eaebfbca19999fde149c4c586fc965015.tar.bz2 |
[LCSSA] Provide option for caller to clean up unused PHIs.
formLCSSAForInstructions is used by SCEVExpander, which tracks all
inserted instructions including LCSSA phis using asserting value
handles. This means cleanup needs to happen in the caller.
Extend formLCSSAForInstructions to take an optional pointer to a
vector. If this argument is non-nullptr, instead of directly deleting
the phis, add them to the vector, so the caller can process them.
This should address various PPC buildbot failures, including
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/40567
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions