]> granicus.if.org Git - llvm/commit
ShrinkWrap: Add skipFunction() call
authorMatthias Braun <matze@braunis.de>
Tue, 16 May 2017 18:43:30 +0000 (18:43 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 16 May 2017 18:43:30 +0000 (18:43 +0000)
commit34eb467434a593e5a5218b9892b8692845e69069
tree95db28b427956ae8fd3f430b1685c5e0ee63a092
parent7457b450301d1d443f55b2eaa02f69d21021e320
ShrinkWrap: Add skipFunction() call

ShrinkWrapping is a performance optimization that can safely be skipped,
so we can add `if (!skipFunction()) return;`

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303197 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ShrinkWrap.cpp