Rustup to rustc 1.74.0-nightly (65ea825f4
2023-09-18)
This commit is contained in:
parent
5f3b867831
commit
baee5ce1fc
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-09-14"
|
||||
channel = "nightly-2023-09-19"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools"]
|
||||
|
@ -75,9 +75,7 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
|
||||
let x = codegen_operand(fx, x);
|
||||
let y = codegen_operand(fx, y);
|
||||
let kind = match kind {
|
||||
Operand::Constant(const_) => {
|
||||
crate::constant::eval_mir_constant(fx, const_).unwrap().0
|
||||
}
|
||||
Operand::Constant(const_) => crate::constant::eval_mir_constant(fx, const_).0,
|
||||
Operand::Copy(_) | Operand::Move(_) => unreachable!("{kind:?}"),
|
||||
};
|
||||
|
||||
|
@ -169,9 +169,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
|
||||
let indexes = {
|
||||
use rustc_middle::mir::interpret::*;
|
||||
let idx_const = match idx {
|
||||
Operand::Constant(const_) => {
|
||||
crate::constant::eval_mir_constant(fx, const_).unwrap().0
|
||||
}
|
||||
Operand::Constant(const_) => crate::constant::eval_mir_constant(fx, const_).0,
|
||||
Operand::Copy(_) | Operand::Move(_) => unreachable!("{idx:?}"),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user