diff options
| author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-02-01 10:44:43 +0000 |
|---|---|---|
| committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-02-01 10:44:43 +0000 |
| commit | 15b17d0a7ccdc150e775df5589ebfb67566854f0 (patch) | |
| tree | bbe230cabd40dd6ce6f017c800e002a15d09f1f4 /llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp | |
| parent | 212833ce766fb9b747672b249667e0161e52968c (diff) | |
| download | bcm5719-llvm-15b17d0a7ccdc150e775df5589ebfb67566854f0.tar.gz bcm5719-llvm-15b17d0a7ccdc150e775df5589ebfb67566854f0.zip | |
Provide reason messages for unviable inlining
InlineCost's isInlineViable() is changed to return InlineResult
instead of bool. This provides messages for failure reasons and
allows to get more specific messages for cases where callsites
are not viable for inlining.
Reviewed By: xbolva00, anemet
Differential Revision: https://reviews.llvm.org/D57089
llvm-svn: 352849
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions

