about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2017-08-07 15:56:43 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2017-08-07 16:00:31 +0300
commit4e3a0b636fffdf9d514420681dc60ecbca221f42 (patch)
treeff3462a7c52aec7ddee52e6d04e83afc765a1fce /src/rustllvm/RustWrapper.cpp
parent91aff5775d3b4a95e2b0c2fe50785f3d28fa3dd8 (diff)
downloadrust-4e3a0b636fffdf9d514420681dc60ecbca221f42.tar.gz
rust-4e3a0b636fffdf9d514420681dc60ecbca221f42.zip
rustc::middle::dataflow - visit the CFG in RPO
We used to propagate bits in node-id order, which sometimes caused an
excessive number of iterations, especially when macros were present. As
everyone knows, visiting the CFG in RPO bounds the number of iterators
by 1 plus the depth of the most deeply nested loop (times the height of
the lattice, which is 1).

Fixes #43704.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions