[PATCH] [PlaceSafepoints] Reduce dominator tree recalculation

Philip Reames listmail at philipreames.com
Tue May 12 17:05:54 PDT 2015


Hi sanjoy, igor-laevsky,

Reduce recalculation of the dominator tree by identifying all sites that will need a safepoint poll before doing any of the insertion.  This allows us to invalidate the dominator info once, rather than once per safepoint poll inserted.

While I'm at it, update findLocationForEntrySafepoint to properly update the dom tree now that the interface has been made easy.  When first written, it wasn't per comment in the code.

http://reviews.llvm.org/D9727

Files:
  lib/Transforms/Scalar/PlaceSafepoints.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9727.25649.patch
Type: text/x-patch
Size: 5641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/baf18c69/attachment.bin>


More information about the llvm-commits mailing list