This is an archive of the discontinued LLVM Phabricator instance.

Use BasicBlock Util SplitBlock interface to update DT
ClosedPublic

Authored by davidxl on Apr 20 2017, 1:46 PM.

Details

Summary

This fixed a bug in CodeExtractor that is only exposed with the partial inliner improvement patch (thus no test yet)

Diff Detail

Repository
rL LLVM

Event Timeline

davidxl created this revision.Apr 20 2017, 1:46 PM
wmi accepted this revision.Apr 20 2017, 2:06 PM

LGTM.

lib/Transforms/Utils/CodeExtractor.cpp
221 ↗(On Diff #96011)

nit: AfterPHIs can be moved closer to its use.

This revision is now accepted and ready to land.Apr 20 2017, 2:06 PM
davide accepted this revision.Apr 20 2017, 2:12 PM

LGTM

This revision was automatically updated to reflect the committed changes.