commit | b890993f2fbe03f10ff52bd8d518887090c7b8a1 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Tue Jun 13 02:24:09 2017 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Tue Jun 13 02:24:09 2017 +0000 |
tree | fa14714db275e432b4d5d61614c4ab866146427d | |
parent | cbf4a3dfadbedd488b125a835f5d627bb1fe282b [diff] |
Inliner: Avoid calling shouldInline until it's absolutely necessary This restores the order of evaluation (& conditionalized evaluation) of isTriviallyDeadInstruction, InlineHistoryIncludes, and shouldInline (with the addition of a shouldInline call after isTriviallyDeadInstruction) from before r305245. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305267 91177308-0d34-0410-b5e6-96231b3b80d8