about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-12 23:49:24 +0000
committerbors <bors@rust-lang.org>2021-09-12 23:49:24 +0000
commit00d45fe5b7915ce58a1c4a64871af09fbdc39494 (patch)
treeee6f71d5003fb9b102c325c73660e90405bccd25 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6da14613e7d18382f7ee16b474b3882aadbe50f5 (diff)
parent5d93d9d0405b5bdef90addfc1fe2dd5f9b6a018e (diff)
downloadrust-00d45fe5b7915ce58a1c4a64871af09fbdc39494.tar.gz
rust-00d45fe5b7915ce58a1c4a64871af09fbdc39494.zip
Auto merge of #88839 - nbdd0121:alignof, r=nagisa
Introduce NullOp::AlignOf

This PR introduces `Rvalue::NullaryOp(NullOp::AlignOf, ty)`, which will be lowered from `align_of`, similar to `size_of` lowering to `Rvalue::NullaryOp(NullOp::SizeOf, ty)`.

The changes are originally part of #88700 but since it's not dependent on other changes and could have performance impact on its own, it's separated into its own PR.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions