[PATCH] D43824: [CallSiteSplitting] Do not crash when BB's terminator changes.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 09:24:20 PST 2018
fhahn created this revision.
fhahn added reviewers: junbuml, davidxl, davide.
Change doCallSiteSplitting to iterate until we reach the terminator instruction.
tryToSplitCallSite can replace BB's terminator in case BB is a successor of
itself. Then IE will be invalidated and we also have to check the current
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3737 bytes
Desc: not available
More information about the llvm-commits