about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-07 23:55:28 +0200
committerGitHub <noreply@github.com>2022-06-07 23:55:28 +0200
commit5870156d855564703353c48ed1d307dade31247c (patch)
tree89e5b6844fb8c4b89d5cb1aee7507169c6a9fb16 /compiler/rustc_codegen_gcc
parent796c466cea55221d354e6f02d8da18880ce933b0 (diff)
parent1c26dd0db4bb8b0613c19c14f7fcbb0d4fa22726 (diff)
downloadrust-5870156d855564703353c48ed1d307dade31247c.tar.gz
rust-5870156d855564703353c48ed1d307dade31247c.zip
Rollup merge of #97840 - durin42:llvm-15-apint, r=nikic
RustWrapper: adapt to APInt API changes in LLVM 15

In https://reviews.llvm.org/D125556 upstream changed sext() and zext()
to allow some no-op cases, which previously required use of the *OrSelf()
methods, which I assume is what was going on here. The *OrSelf() methods
got removed in https://reviews.llvm.org/D125559 after two weeks of
deprecation because they came with some bonus (probably-undesired)
behavior. Since the behavior of sext() and zext() changed slightly, I
kept the old *OrSelf() calls in LLVM 14 and earlier, and only use the
new version in LLVM 15.

r? `@nikic`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions