This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +2
-9
lines changed Expand file tree Collapse file tree 8 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
//@ unit-test: DataflowConstProp
2
2
//@ compile-flags: -Zmir-enable-passes=+GVN,+Inline
3
- //@ ignore-debug assertions change the output MIR
4
3
// EMIT_MIR_FOR_EACH_BIT_WIDTH
5
4
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
6
5
Original file line number Diff line number Diff line change 1
1
// skip-filecheck
2
2
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
3
- //@ compile-flags: --crate-type lib -Cdebug-assertions=no
4
3
5
4
#![ feature( flt2dec) ]
6
5
Original file line number Diff line number Diff line change 2
2
#![ crate_type = "lib" ]
3
3
#![ feature( unchecked_shifts) ]
4
4
5
- //@ ignore-debug: the debug assertions prevent the inlining we are testing for
6
5
//@ compile-flags: -Zmir-opt-level=2 -Zinline-mir
7
6
8
7
// EMIT_MIR unchecked_shifts.unchecked_shl_unsigned_smaller.Inline.diff
Original file line number Diff line number Diff line change 1
1
#![ crate_type = "lib" ]
2
2
3
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4
- //@ ignore-debug: the debug assertions prevent the inlining we are testing for
5
- //@ compile-flags: -Zmir-opt-level=2 -Zinline-mir -Cdebug-assertions=no
4
+ //@ compile-flags: -Zmir-opt-level=2 -Zinline-mir
6
5
7
6
// EMIT_MIR unwrap_unchecked.unwrap_unchecked.Inline.diff
8
7
// EMIT_MIR unwrap_unchecked.unwrap_unchecked.PreCodegen.after.mir
Original file line number Diff line number Diff line change 1
1
// skip-filecheck
2
2
//@ compile-flags: -O -Zmir-opt-level=2 -Cdebuginfo=0
3
- //@ ignore-debug: standard library debug assertions add a panic that breaks this optimization
4
3
5
4
#![ crate_type = "lib" ]
6
5
Original file line number Diff line number Diff line change 1
1
// skip-filecheck
2
2
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
3
- //@ ignore-debug the standard library debug assertions leak into this test
3
+ //@ ignore-debug: precondition checks on ptr::read/write are under cfg(debug_assertions)
4
4
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
5
5
6
6
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 1
1
// skip-filecheck
2
2
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
3
- //@ ignore-debug the standard library debug assertions leak into this test
4
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
5
4
6
5
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 1
1
// skip-filecheck
2
2
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
3
- //@ ignore-debug the standard library debug assertions leak into this test
4
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
5
4
6
5
#![ crate_type = "lib" ]
You can’t perform that action at this time.
0 commit comments