summaryrefslogtreecommitdiffstats
path: root/clang
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 /clang
parentfa43892d6fdf77e373dcf54f1c934380b8731df2 (diff)
downloadbcm5719-llvm-107d0a87565ac7f067e38b1f73866959cad6f52f.tar.gz
bcm5719-llvm-107d0a87565ac7f067e38b1f73866959cad6f52f.zip
[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 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud