Skip to content

Commit

Permalink
Remove unnecessary `EMIT_MIR_FOR_EACH_BITWIDTH
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobDegen committed Sep 5, 2022
1 parent 289279d commit 46130a1
Show file tree
Hide file tree
Showing 61 changed files with 12 additions and 1,598 deletions.
2 changes: 1 addition & 1 deletion src/test/mir-opt/array-index-is-temporary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ unsafe fn foo(z: *mut usize) -> u32 {
99
}

// EMIT_MIR_FOR_EACH_BIT_WIDTH

// EMIT_MIR array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir
fn main() {
let mut x = [42, 43, 44];
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/mir-opt/inline/inline-into-box-place.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ignore-endian-big
// ignore-wasm32-bare compiled with panic=abort by default
// compile-flags: -Z mir-opt-level=4
// EMIT_MIR_FOR_EACH_BIT_WIDTH

#![feature(box_syntax)]
// EMIT_MIR inline_into_box_place.main.Inline.diff
fn main() {
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/test/mir-opt/issue-41697.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Foo {
fn get(&self) -> [u8; 2];
}

// EMIT_MIR_FOR_EACH_BIT_WIDTH

// EMIT_MIR issue_41697.{impl#0}-{constant#0}.SimplifyCfg-promote-consts.after.mir
impl Foo for [u8; 1+1] {
fn get(&self) -> [u8; 2] {
Expand Down
4 changes: 2 additions & 2 deletions src/test/mir-opt/issue-72181.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ union Foo {
b: Never
}

// EMIT_MIR_FOR_EACH_BIT_WIDTH

// EMIT_MIR issue_72181.foo.mir_map.0.mir
fn foo(xs: [(Never, u32); 1]) -> u32 { xs[0].1 }

// EMIT_MIR issue_72181.bar.mir_map.0.mir
fn bar([(_, x)]: [(Never, u32); 1]) -> u32 { x }

// EMIT_MIR_FOR_EACH_BIT_WIDTH

// EMIT_MIR issue_72181.main.mir_map.0.mir
fn main() {
let _ = mem::size_of::<Foo>();
Expand Down
2 changes: 1 addition & 1 deletion src/test/mir-opt/issue-73223.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ fn main() {
assert_eq!(split, 1);
}

// EMIT_MIR_FOR_EACH_BIT_WIDTH

// EMIT_MIR issue_73223.main.SimplifyArmIdentity.diff

This file was deleted.

17 changes: 0 additions & 17 deletions src/test/mir-opt/issue_72181.bar.mir_map.0.64bit.mir

This file was deleted.

27 changes: 0 additions & 27 deletions src/test/mir-opt/issue_72181.foo.mir_map.0.64bit.mir

This file was deleted.

62 changes: 0 additions & 62 deletions src/test/mir-opt/issue_72181.main.mir_map.0.64bit.mir

This file was deleted.

Loading

0 comments on commit 46130a1

Please sign in to comment.