Use -Zdump-mir-exclude-alloc-bytes
in some mir-opt tests
This commit is contained in:
parent
31851d4770
commit
1a05cb2d93
@ -1,5 +1,5 @@
|
||||
//@ test-mir-pass: SingleUseConsts
|
||||
//@ compile-flags: -C overflow-checks=no -Zmir-enable-passes=+GVN
|
||||
//@ compile-flags: -C overflow-checks=no -Zmir-enable-passes=+GVN -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
#![allow(unused)]
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR address_of_pair.fn0.GVN.diff
|
||||
pub fn fn0() -> bool {
|
||||
|
@ -1,6 +1,6 @@
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -C overflow-checks=on
|
||||
//@ compile-flags: -C overflow-checks=on -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR checked_add.main.GVN.diff
|
||||
fn main() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR mutable_variable_aggregate.main.GVN.diff
|
||||
fn main() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR mutable_variable_aggregate_mut_ref.main.GVN.diff
|
||||
fn main() {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR mutable_variable_unprop_assign.main.GVN.diff
|
||||
fn main() {
|
||||
|
@ -1,6 +1,6 @@
|
||||
//@ test-mir-pass: GVN
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
//@ compile-flags: -C overflow-checks=on
|
||||
//@ compile-flags: -C overflow-checks=on -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
// EMIT_MIR return_place.add.GVN.diff
|
||||
// EMIT_MIR return_place.add.PreCodegen.before.mir
|
||||
|
@ -1,5 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zmir-enable-passes=+InstSimplify
|
||||
//@ compile-flags: -Zmir-enable-passes=+InstSimplify -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// EMIT_MIR tuple_literal_propagation.main.GVN.diff
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
//@ test-mir-pass: DataflowConstProp
|
||||
//@ compile-flags: -Coverflow-checks=on
|
||||
//@ compile-flags: -Coverflow-checks=on -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
// EMIT_MIR checked.main.DataflowConstProp.diff
|
||||
|
@ -1,5 +1,5 @@
|
||||
//@ test-mir-pass: DataflowConstProp
|
||||
//@ compile-flags: -Zmir-enable-passes=+GVN,+Inline
|
||||
//@ compile-flags: -Zmir-enable-passes=+GVN,+Inline -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: DataflowConstProp
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
|
||||
#![feature(custom_mir, core_intrinsics, rustc_attrs)]
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: DataflowConstProp
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: DataflowConstProp
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
|
||||
// EMIT_MIR tuple.main.DataflowConstProp.diff
|
||||
|
@ -1,7 +1,7 @@
|
||||
// skip-filecheck
|
||||
//@ test-mir-pass: EnumSizeOpt
|
||||
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
||||
//@ compile-flags: -Zunsound-mir-opts
|
||||
//@ compile-flags: -Zunsound-mir-opts -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
#![feature(arbitrary_enum_discriminant, repr128)]
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ test-mir-pass: GVN
|
||||
//@ compile-flags: -Zdump-mir-exclude-alloc-bytes
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
//@ only-64bit
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
//@ compile-flags: -C overflow-checks=on
|
||||
//@ compile-flags: -C overflow-checks=on -Zdump-mir-exclude-alloc-bytes
|
||||
|
||||
struct Point {
|
||||
x: u32,
|
||||
|
Loading…
Reference in New Issue
Block a user