[PATCH] D32715: shrink-wrap: fix shrink-wrapping for no-return paths

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 11:37:30 PDT 2017


MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.

Okay I misread the code, looks like `ArePointsInteresting()` abort if Save or Restore is nullptr. So this seems fine.

Would be nice to add a comment that setting it to nullptr will abort the shrinkwrapping when committing.


https://reviews.llvm.org/D32715





More information about the llvm-commits mailing list