about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2022-06-07 14:28:20 -0400
committerAugie Fackler <augie@google.com>2022-06-07 14:47:57 -0400
commit1c26dd0db4bb8b0613c19c14f7fcbb0d4fa22726 (patch)
tree189f04f7ab764076fbe9e2f499764c59483fcbde /compiler/rustc_codegen_gcc
parent7fe2c4b00dfbc33643e1af4b293eb057306a8339 (diff)
downloadrust-1c26dd0db4bb8b0613c19c14f7fcbb0d4fa22726.tar.gz
rust-1c26dd0db4bb8b0613c19c14f7fcbb0d4fa22726.zip
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