about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-12-11 21:19:34 +0000
committerbors <bors@rust-lang.org>2016-12-11 21:19:34 +0000
commit3db197aa9d343c7974b06a9b18ae5f78d5c64637 (patch)
tree70e1139c9396d1cc0ade5d91860775ea28f88028 /src/test/run-pass/thinlto
parent6d5ec58912b84e2ba82bb483bf1f25af824c4297 (diff)
parentfbc3f11fc18a626ba9b9f6bc52de4fc5ef75154b (diff)
downloadrust-3db197aa9d343c7974b06a9b18ae5f78d5c64637.tar.gz
rust-3db197aa9d343c7974b06a9b18ae5f78d5c64637.zip
Auto merge of #38265 - bluss:mir-deaggregator-loop, r=nagisa
Reinstate while loop in deaggregator pass

A previous commit must have removed the `while let` loop here by
mistake; for each basic block, it should find and deaggregate multiple
statements in their index order, and the `curr` index tracks the
progress through the block.

This fixes both the case of deaggregating statements in separate
basic blocks (preserving `curr` could prevent that) as well
as multiple times in the same block (missing loop prevented that).

The loop was lost in commit bda46c21fe30377b9587b584c64ffe99da6c14ce.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions