rust/tests/mir-opt/const_prop
bors 04c53444df Auto merge of #111309 - saethlin:InstSimplify, r=scottmcm
Rename InstCombine to InstSimplify

```
╭ ➜ ben@archlinux:~/rust
╰ ➤ rg -i instcombine
src/doc/rustc-dev-guide/src/mir/optimizations.md
134:may have been misapplied. Examples of this are `InstCombine` and `ConstantPropagation`.

src/ci/docker/host-x86_64/disabled/dist-x86_64-haiku/llvm-config.sh
38:                    instcombine instrumentation interpreter ipo irreader lanai \

tests/codegen/slice_as_from_ptr_range.rs
4:// min-llvm-version: 15.0 (because this is a relatively new instcombine)
```

r? `@scottmcm`
2023-05-08 01:28:50 +00:00
..
address_of_pair.fn0.ConstProp.diff Reject borrows of projections in ConstProp. 2023-05-04 21:51:44 +00:00
address_of_pair.rs Add tests. 2023-05-04 21:50:46 +00:00
aggregate.foo.ConstProp.diff Add partial propagation test. 2023-02-02 23:26:29 +00:00
aggregate.foo.PreCodegen.after.mir Add partial propagation test. 2023-02-02 23:26:29 +00:00
aggregate.main.ConstProp.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
aggregate.main.PreCodegen.after.mir Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
aggregate.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
array_index.main.ConstProp.32bit.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array_index.main.ConstProp.64bit.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
array_index.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
bad_op_div_by_zero.main.ConstProp.diff Remove overflow checks from ConstProp. 2023-02-18 21:35:02 +00:00
bad_op_div_by_zero.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
bad_op_mod_by_zero.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
bad_op_mod_by_zero.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
bad_op_unsafe_oob_for_slices.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
boolean_identities.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
boolean_identities.test.ConstProp.diff Implement SSA CopyProp pass. 2023-01-27 18:22:45 +00:00
boxes.main.ConstProp.diff Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
boxes.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
cast.main.ConstProp.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
checked_add.main.ConstProp.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
checked_add.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
const_prop_fails_gracefully.main.ConstProp.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
const_prop_fails_gracefully.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
control_flow_simplification.hello.ConstProp.diff Generalize operation. 2023-03-13 18:22:55 +00:00
control_flow_simplification.hello.PreCodegen.before.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
control_flow_simplification.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
discriminant.main.ConstProp.32bit.diff Bless 32bit. 2023-03-08 14:40:38 +00:00
discriminant.main.ConstProp.64bit.diff Do not track span in ConstProp. 2023-03-08 14:40:37 +00:00
discriminant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
indirect.main.ConstProp.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
indirect.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
inherit_overflow.main.ConstProp.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
inherit_overflow.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
invalid_constant.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
invalid_constant.main.RemoveZsts.diff Generalize operation. 2023-03-13 18:22:55 +00:00
invalid_constant.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
issue_66971.main.ConstProp.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
issue_66971.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
issue_67019.main.ConstProp.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
issue_67019.rs Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
large_array_index.main.ConstProp.32bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
large_array_index.main.ConstProp.64bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
large_array_index.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
mult_by_zero.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mult_by_zero.test.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate_mut_ref.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate_mut_ref.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate_partial_read.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate_partial_read.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_no_prop.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_no_prop.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_unprop_assign.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_unprop_assign.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
offset_of.concrete.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
offset_of.generic.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
offset_of.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
read_immutable_static.main.ConstProp.diff Make some tests unit. 2023-04-23 17:13:18 +00:00
read_immutable_static.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
ref_deref_project.main.ConstProp.diff Make tests unit. 2023-01-27 18:22:44 +00:00
ref_deref_project.rs Make tests unit. 2023-01-27 18:22:44 +00:00
ref_deref.main.ConstProp.diff Make tests unit. 2023-01-27 18:22:44 +00:00
ref_deref.rs Make tests unit. 2023-01-27 18:22:44 +00:00
reify_fn_ptr.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
reify_fn_ptr.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
repeat.main.ConstProp.32bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
repeat.main.ConstProp.64bit.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
repeat.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
return_place.add.ConstProp.diff Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return_place.add.PreCodegen.before.mir Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
return_place.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
scalar_literal_propagation.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
scalar_literal_propagation.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
slice_len.main.ConstProp.32bit.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
slice_len.main.ConstProp.64bit.diff Ignore many tests on wasm32 2023-04-06 10:08:07 +01:00
slice_len.rs Rename InstCombine to InstSimplify 2023-05-06 23:22:32 -04:00
switch_int.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
switch_int.main.SimplifyConstCondition-after-const-prop.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
switch_int.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
transmute.from_char.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.from_char.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.invalid_bool.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.invalid_bool.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.invalid_char.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.invalid_char.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.less_as_i8.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.less_as_i8.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.rs Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.undef_union_as_integer.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.undef_union_as_integer.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_box.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_box.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_direct.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_direct.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_mut.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_mut.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_ref.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.unreachable_ref.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.valid_char.ConstProp.32bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.valid_char.ConstProp.64bit.diff Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
tuple_literal_propagation.main.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
tuple_literal_propagation.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
while_let_loops.change_loop_body.ConstProp.diff Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
while_let_loops.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00