diff options
| author | bors <bors@rust-lang.org> | 2013-08-10 04:44:13 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-10 04:44:13 -0700 |
| commit | e70aac572ac9dd6e1b8f7f434e77c602c1fa0d0e (patch) | |
| tree | 0a219780d18444c3ca01785eccd3de1c6e9532eb /src/rustllvm/RustWrapper.cpp | |
| parent | f0fc9c92ffab3bdb98fdd00c284a7f6541444e5a (diff) | |
| parent | 4b74b8dca4076797bb928707fb19e98cfbca09d4 (diff) | |
| download | rust-e70aac572ac9dd6e1b8f7f434e77c602c1fa0d0e.tar.gz rust-e70aac572ac9dd6e1b8f7f434e77c602c1fa0d0e.zip | |
auto merge of #8270 : dotdash/rust/ret_alloca_elim, r=pcwalton
When there is only a single store to the ret slot that dominates the load that gets the value for the "ret" instruction, we can elide the ret slot and directly return the operand of the dominating store instruction. This is the same thing that clang does, except for a special case that doesn't seem to affect us. Fixes #8238
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
