diff options
| author | bors <bors@rust-lang.org> | 2017-04-13 11:47:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-04-13 11:47:33 +0000 |
| commit | 43ef63d5b4279ef97ed921338a69b0d62101ca83 (patch) | |
| tree | 7b09bb241ed5c8d7a95d6d7a5800cff62b5cfec8 /src/test/run-pass/thinlto | |
| parent | 1f59c7ebb170b1ca98bc1d620afb02f7b3ae3fa7 (diff) | |
| parent | 9b5c577dbd45ff3b11f9d7aab6990cc1ee9194fb (diff) | |
| download | rust-43ef63d5b4279ef97ed921338a69b0d62101ca83.tar.gz rust-43ef63d5b4279ef97ed921338a69b0d62101ca83.zip | |
Auto merge of #40367 - eddyb:naked-cruft, r=nagisa
Improve the LLVM IR we generate for trivial functions, especially #[naked] ones. These two small changes fix edef1c/libfringe#68: * Don't emit ZST allocas, such as when returning `()` * Don't emit a branch from LLVM's entry block to MIR's `START_BLOCK` unless needed * That is, if a loop branches back to it, although I'm not sure that's even valid MIR
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
