Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1d65e96

Browse files
authoredSep 7, 2022
Rollup merge of #101435 - JakobDegen:bitwidth-tests, r=wesleywiser
Remove unnecessary `EMIT_MIR_FOR_EACH_BITWIDTH` This commit removes the annotation only for those tests where the 32 bit and 64 bit files were exactly identical. I didn't touch anything in the `mir-opt/const` directory, since having this annotation there seems more principled, even if it doesn't make a difference. This also removes four additional files related to the `separate_const_switch.rs` test. The associated annotations were removed in #100827 , but I forgot to remove the files as well. (#97564 is the issue tracking an automated check here) r? ```@wesleywiser```
2 parents d1ebba4 + 46130a1 commit 1d65e96

File tree

57 files changed

+12
-1152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+12
-1152
lines changed
 

‎src/test/mir-opt/array-index-is-temporary.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ unsafe fn foo(z: *mut usize) -> u32 {
77
99
88
}
99

10-
// EMIT_MIR_FOR_EACH_BIT_WIDTH
10+
1111
// EMIT_MIR array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir
1212
fn main() {
1313
let mut x = [42, 43, 44];

‎src/test/mir-opt/array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.64bit.mir

-64
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.