diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-04 23:48:40 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-04 23:48:40 -0800 |
| commit | 1b1e887f4d40e5800a8d5ae81f8574806e7ba21a (patch) | |
| tree | 3ecc366222ea48517be24d4949ead79116800698 /src/rustllvm/RustWrapper.cpp | |
| parent | b8f2674ea47f4f3cf5d90d0428bf8b8025d7f8d8 (diff) | |
| download | rust-1b1e887f4d40e5800a8d5ae81f8574806e7ba21a.tar.gz rust-1b1e887f4d40e5800a8d5ae81f8574806e7ba21a.zip | |
Override try_[r]fold for RangeInclusive
Because the last item needs special handling, it seems that LLVM has trouble canonicalizing the loops in external iteration. With the override, it becomes obvious that the start==end case exits the loop (as opposed to the one *after* that exiting the loop in external iteration).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
