about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-04 21:06:50 +0000
committerbors <bors@rust-lang.org>2019-11-04 21:06:50 +0000
commit881ebeb776cf4062a85a20b15f64c7349319518c (patch)
tree05433f9166309ea01e430a7d99fe90c899e07bf8 /src/rustllvm/RustWrapper.cpp
parent2477e2493e67527fc282c7239e019f7ebd513a1a (diff)
parenta96d7005c6d1e4b1977e8bf93e28a886ceb443eb (diff)
downloadrust-881ebeb776cf4062a85a20b15f64c7349319518c.tar.gz
rust-881ebeb776cf4062a85a20b15f64c7349319518c.zip
Auto merge of #65874 - Nadrieril:clarify-usefulness, r=varkor
Clarify pattern-matching usefulness algorithm

This PR clarifies a bit the usefulness algorithm by emphasizing that each row of the matrix can be seen as a sort of stack from which we pop constructors. It also moves code around to increase separation of concerns.

This is part of my splitting of https://github.com/rust-lang/rust/pull/65160 into smaller PRs.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions