diff options
| author | Florian Hahn <florian.hahn@arm.com> | 2017-07-13 08:26:17 +0000 |
|---|---|---|
| committer | Florian Hahn <florian.hahn@arm.com> | 2017-07-13 08:26:17 +0000 |
| commit | 4adcfcf1d6409bd2202900033a44c21def89a4dd (patch) | |
| tree | be7a82b98d860617bb998186eb6f6c27f96b0272 /llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp | |
| parent | 9fb04071a21737729616dbfbbe7adf8c33294251 (diff) | |
| download | bcm5719-llvm-4adcfcf1d6409bd2202900033a44c21def89a4dd.tar.gz bcm5719-llvm-4adcfcf1d6409bd2202900033a44c21def89a4dd.zip | |
[ARM] Inline callee if its target-features are a subset of the caller
Summary:
Similar to X86, it should be safe to inline callees if their
target-features are a subset of the caller. As some subtarget features
provide different instructions depending on whether they are set or
unset (e.g. ThumbMode and ModeSoftFloat), we use a whitelist of
target-features describing hardware capabilities only.
Reviewers: kristof.beyls, rengolin, t.p.northover, SjoerdMeijer, peter.smith, silviu.baranga, efriedma
Reviewed By: SjoerdMeijer, efriedma
Subscribers: dschuff, efriedma, aemerson, sdardis, javed.absar, arichardson, eraman, llvm-commits
Differential Revision: https://reviews.llvm.org/D34697
llvm-svn: 307889
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp')
0 files changed, 0 insertions, 0 deletions

