aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-08-01 20:38:38 +0100
committerFlorian Hahn <flo@fhahn.com>2020-08-01 20:43:19 +0100
commit05b44f7eaebfbca19999fde149c4c586fc965015 (patch)
tree8a50409cbb3ec8068a25865a2728fc5f46751e65 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent82a5c848e7f531ee636f643450072059397ac90c (diff)
downloadllvm-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