diff options
| author | David Blaikie <dblaikie@gmail.com> | 2017-06-13 02:24:09 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2017-06-13 02:24:09 +0000 |
| commit | 6d0f39476ab4b5cd3230bb12837799da6a87e5cb (patch) | |
| tree | 2a23a76b31922219966cee3694db039de727c954 /llvm/lib/IR/DiagnosticInfo.cpp | |
| parent | 7736855dee38bb7abcb05ad665b8775e58c145d9 (diff) | |
| download | bcm5719-llvm-6d0f39476ab4b5cd3230bb12837799da6a87e5cb.tar.gz bcm5719-llvm-6d0f39476ab4b5cd3230bb12837799da6a87e5cb.zip | |
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.
llvm-svn: 305267
Diffstat (limited to 'llvm/lib/IR/DiagnosticInfo.cpp')
0 files changed, 0 insertions, 0 deletions

