This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
[toolchain]
2
- channel = "nightly-2023-09-14 "
2
+ channel = "nightly-2023-09-19 "
3
3
components = ["rust-src", "rustc-dev", "llvm-tools"]
Original file line number Diff line number Diff line change @@ -75,9 +75,7 @@ pub(crate) fn codegen_x86_llvm_intrinsic_call<'tcx>(
75
75
let x = codegen_operand ( fx, x) ;
76
76
let y = codegen_operand ( fx, y) ;
77
77
let kind = match kind {
78
- Operand :: Constant ( const_) => {
79
- crate :: constant:: eval_mir_constant ( fx, const_) . unwrap ( ) . 0
80
- }
78
+ Operand :: Constant ( const_) => crate :: constant:: eval_mir_constant ( fx, const_) . 0 ,
81
79
Operand :: Copy ( _) | Operand :: Move ( _) => unreachable ! ( "{kind:?}" ) ,
82
80
} ;
83
81
Original file line number Diff line number Diff line change @@ -169,9 +169,7 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
169
169
let indexes = {
170
170
use rustc_middle:: mir:: interpret:: * ;
171
171
let idx_const = match idx {
172
- Operand :: Constant ( const_) => {
173
- crate :: constant:: eval_mir_constant ( fx, const_) . unwrap ( ) . 0
174
- }
172
+ Operand :: Constant ( const_) => crate :: constant:: eval_mir_constant ( fx, const_) . 0 ,
175
173
Operand :: Copy ( _) | Operand :: Move ( _) => unreachable ! ( "{idx:?}" ) ,
176
174
} ;
177
175
You can’t perform that action at this time.
0 commit comments