aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-11-13 17:54:43 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-11-13 17:54:43 +0000
commit107d0a87565ac7f067e38b1f73866959cad6f52f (patch)
tree015c914d553352a51b835fbbad8bccf8852475b7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentfa43892d6fdf77e373dcf54f1c934380b8731df2 (diff)
downloadllvm-107d0a87565ac7f067e38b1f73866959cad6f52f.zip
llvm-107d0a87565ac7f067e38b1f73866959cad6f52f.tar.gz
llvm-107d0a87565ac7f067e38b1f73866959cad6f52f.tar.bz2
[CSP, Cloning] Update DuplicateInstructionsInSplitBetween to use DomTreeUpdater.
This patch updates DuplicateInstructionsInSplitBetween to update a DTU instead of applying updates to the DT directly. Given that there only are 2 users, also updated them in this patch to avoid churn. I slightly moved the code in CallSiteSplitting around to reduce the places where we have to pass in DTU. If necessary, I could split those changes in a separate patch. This fixes missing DT updates when dealing with musttail calls in CallSiteSplitting, by using DTU->deleteBB. Reviewers: junbuml, kuhar, NutshellySima, indutny, brzycki Reviewed By: NutshellySima llvm-svn: 346769
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions