mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
6885733c41
The test cases src/test/mir-opt/building/custom/consts.rs and src/test/mir-opt/const_prop/mutable_variable_no_prop.rs are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the MIR test files. Fix this by choosing constant values that have the same encoding on big- and little-endian platforms. The test case src/test/mir-opt/issues/issue_75439.rs is failing as well, but since the purpose of the test is to validate handling of big-endian integer encodings on a little-endian platform, it does not make much sense to run it on big-endian platforms in the first place - we can just ignore it there. Fixed part of https://github.com/rust-lang/rust/issues/105383. |
||
---|---|---|
.. | ||
aggregate.main.ConstProp.diff | ||
aggregate.main.PreCodegen.after.mir | ||
aggregate.rs | ||
array_index.main.ConstProp.32bit.diff | ||
array_index.main.ConstProp.64bit.diff | ||
array_index.rs | ||
bad_op_div_by_zero.main.ConstProp.diff | ||
bad_op_div_by_zero.rs | ||
bad_op_mod_by_zero.main.ConstProp.diff | ||
bad_op_mod_by_zero.rs | ||
bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.diff | ||
bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.diff | ||
bad_op_unsafe_oob_for_slices.rs | ||
boolean_identities.rs | ||
boolean_identities.test.ConstProp.diff | ||
boxes.main.ConstProp.diff | ||
boxes.rs | ||
cast.main.ConstProp.diff | ||
cast.rs | ||
checked_add.main.ConstProp.diff | ||
checked_add.rs | ||
const_prop_fails_gracefully.main.ConstProp.diff | ||
const_prop_fails_gracefully.rs | ||
control_flow_simplification.hello.ConstProp.diff | ||
control_flow_simplification.hello.PreCodegen.before.mir | ||
control_flow_simplification.rs | ||
discriminant.main.ConstProp.32bit.diff | ||
discriminant.main.ConstProp.64bit.diff | ||
discriminant.rs | ||
indirect.main.ConstProp.diff | ||
indirect.rs | ||
invalid_constant.main.ConstProp.diff | ||
invalid_constant.rs | ||
issue_66971.main.ConstProp.diff | ||
issue_66971.rs | ||
issue_67019.main.ConstProp.diff | ||
issue_67019.rs | ||
large_array_index.main.ConstProp.32bit.diff | ||
large_array_index.main.ConstProp.64bit.diff | ||
large_array_index.rs | ||
mult_by_zero.rs | ||
mult_by_zero.test.ConstProp.diff | ||
mutable_variable_aggregate_mut_ref.main.ConstProp.diff | ||
mutable_variable_aggregate_mut_ref.rs | ||
mutable_variable_aggregate_partial_read.main.ConstProp.diff | ||
mutable_variable_aggregate_partial_read.rs | ||
mutable_variable_aggregate.main.ConstProp.diff | ||
mutable_variable_aggregate.rs | ||
mutable_variable_no_prop.main.ConstProp.diff | ||
mutable_variable_no_prop.rs | ||
mutable_variable_unprop_assign.main.ConstProp.diff | ||
mutable_variable_unprop_assign.rs | ||
mutable_variable.main.ConstProp.diff | ||
mutable_variable.rs | ||
optimizes_into_variable.main.ConstProp.32bit.diff | ||
optimizes_into_variable.main.ConstProp.64bit.diff | ||
optimizes_into_variable.main.PreCodegen.after.32bit.mir | ||
optimizes_into_variable.main.PreCodegen.after.64bit.mir | ||
optimizes_into_variable.main.ScalarReplacementOfAggregates.32bit.diff | ||
optimizes_into_variable.main.ScalarReplacementOfAggregates.64bit.diff | ||
optimizes_into_variable.main.SimplifyLocals-final.after.32bit.mir | ||
optimizes_into_variable.main.SimplifyLocals-final.after.64bit.mir | ||
optimizes_into_variable.rs | ||
read_immutable_static.main.ConstProp.diff | ||
read_immutable_static.rs | ||
ref_deref_project.main.ConstProp.diff | ||
ref_deref_project.main.PromoteTemps.diff | ||
ref_deref_project.rs | ||
ref_deref.main.ConstProp.diff | ||
ref_deref.main.PromoteTemps.diff | ||
ref_deref.rs | ||
reify_fn_ptr.main.ConstProp.diff | ||
reify_fn_ptr.rs | ||
repeat.main.ConstProp.32bit.diff | ||
repeat.main.ConstProp.64bit.diff | ||
repeat.rs | ||
return_place.add.ConstProp.diff | ||
return_place.add.PreCodegen.before.mir | ||
return_place.rs | ||
scalar_literal_propagation.main.ConstProp.diff | ||
scalar_literal_propagation.rs | ||
slice_len.main.ConstProp.32bit.diff | ||
slice_len.main.ConstProp.64bit.diff | ||
slice_len.rs | ||
switch_int.main.ConstProp.diff | ||
switch_int.main.SimplifyConstCondition-after-const-prop.diff | ||
switch_int.rs | ||
tuple_literal_propagation.main.ConstProp.diff | ||
tuple_literal_propagation.rs |