about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
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
commit96dee2825e9d3a587243e700c7c27ff9cf123cdf (patch)
treec2fc8ea8dd67d3801a7e2c6bee0a22bdfbe0cddb /compiler/rustc_query_impl/src
parent51e514c0fb4f9afcaae3b02dd9ccb93e15b30ef8 (diff)
parentcdec87cafaa2d13ede2230ff430f909e67dbc751 (diff)
downloadrust-96dee2825e9d3a587243e700c7c27ff9cf123cdf.tar.gz
rust-96dee2825e9d3a587243e700c7c27ff9cf123cdf.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_query_impl/src')
0 files changed, 0 insertions, 0 deletions