]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #72139 - nnethercote:standalone-fold, r=cuviper
authorDylan DPC <dylan.dpc@gmail.com>
Wed, 20 May 2020 12:21:06 +0000 (14:21 +0200)
committerGitHub <noreply@github.com>
Wed, 20 May 2020 12:21:06 +0000 (14:21 +0200)
commit5c52f9f9167730cf48c387366be289d53a485754
treeb5d89bd0125c63d75dbe80e4f09b62b5aec65110
parent14c439177b779408452fdf2c8f4fc620f27905d1
parent959bd48887d431a0f30090af18ef40d8c5606d77
Rollup merge of #72139 - nnethercote:standalone-fold, r=cuviper

Make `fold` standalone.

`fold` is currently implemented via `try_fold`, but implementing it
directly results in slightly less LLVM IR being generated, speeding up
compilation of some benchmarks.

r? @cuviper