We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc52b47 commit 8b58eb9Copy full SHA for 8b58eb9
src/librustc_codegen_llvm/va_arg.rs
@@ -128,8 +128,7 @@ fn emit_aapcs_va_arg(
128
// it could be on the stack so we have to update the offset and then check
129
// the offset again.
130
131
- if layout.align.abi.bytes() > 8 {
132
- assert!(layout.align.abi.bytes() <= 16);
+ if gr_type && layout.align.abi.bytes() > 8 {
133
reg_off_v = maybe_reg.add(reg_off_v, bx.const_i32(15));
134
reg_off_v = maybe_reg.and(reg_off_v, bx.const_i32(-16));
135
}
0 commit comments