]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #89313 - durin42:llvm-14-thinLTOResolvePrevailingInModule, r=nikic
authorEric Huss <eric@huss.org>
Thu, 30 Sep 2021 02:33:40 +0000 (19:33 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Sep 2021 02:33:40 +0000 (19:33 -0700)
commit403e221dcfc6ac7f717bc61d81d19b29d833dcb3
tree4d284f1b2ae70d7c4778ffac946889ddfc6e57bd
parentc5f8675291de47c5a189b750feb8cd2c3fef6f73
parent12c3f50a90b96fff93399f3039155da3ef96abb0
Rollup merge of #89313 - durin42:llvm-14-thinLTOResolvePrevailingInModule, r=nikic

PassWrapper: handle function rename from upstream D36850

thinLTOResolvePrevailingInModule became thinLTOFinalizeInModule and
gained the ability to propagate noRecurse and noUnwind function
attributes. I ran codegen tests with it both on and off, as the upstream
patch uses it in both modes, and the tests pass both ways. Given that,
it seemed reasonable to go ahead and let the propagation be enabled in
rustc, and see what happens. See https://reviews.llvm.org/D36850 for
more examples of how the new version of the function gets used.

r? ``@nikic`` cc ``@nagisa``