Skip to content

Commit beb8d89

Browse files
committed
Ignore a couple mir-opt tests on big endian
1 parent 48a8da8 commit beb8d89

4 files changed

+5
-3
lines changed

src/test/mir-opt/const_prop/mutable_variable_no_prop.main.ConstProp.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
StorageLive(_4); // scope 2 at $DIR/mutable_variable_no_prop.rs:+3:13: +3:19
2626
_4 = const {alloc1: *mut u32}; // scope 2 at $DIR/mutable_variable_no_prop.rs:+3:13: +3:19
2727
// mir::Constant
28-
// + span: $DIR/mutable_variable_no_prop.rs:10:13: 10:19
28+
// + span: $DIR/mutable_variable_no_prop.rs:11:13: 11:19
2929
// + literal: Const { ty: *mut u32, val: Value(Scalar(alloc1)) }
3030
_3 = (*_4); // scope 2 at $DIR/mutable_variable_no_prop.rs:+3:13: +3:19
3131
_1 = move _3; // scope 2 at $DIR/mutable_variable_no_prop.rs:+3:9: +3:19

src/test/mir-opt/const_prop/mutable_variable_no_prop.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// unit-test
22
// compile-flags: -O
3+
// ignore-endian-big
34

45
static mut STATIC: u32 = 42;
56

src/test/mir-opt/issues/issue-75439.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// EMIT_MIR issue_75439.foo.MatchBranchSimplification.diff
2+
// ignore-endian-big
23

34
use std::mem::transmute;
45

src/test/mir-opt/issues/issue_75439.foo.MatchBranchSimplification.diff

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
_3 = _1; // scope 2 at $DIR/issue-75439.rs:+2:47: +2:52
2727
_2 = transmute::<[u8; 16], [u32; 4]>(move _3) -> bb1; // scope 2 at $DIR/issue-75439.rs:+2:37: +2:53
2828
// mir::Constant
29-
// + span: $DIR/issue-75439.rs:7:37: 7:46
29+
// + span: $DIR/issue-75439.rs:8:37: 8:46
3030
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn([u8; 16]) -> [u32; 4] {transmute::<[u8; 16], [u32; 4]>}, val: Value(<ZST>) }
3131
}
3232

@@ -49,7 +49,7 @@
4949
_6 = _4; // scope 4 at $DIR/issue-75439.rs:+5:33: +5:35
5050
_5 = transmute::<u32, [u8; 4]>(move _6) -> bb7; // scope 4 at $DIR/issue-75439.rs:+5:23: +5:36
5151
// mir::Constant
52-
// + span: $DIR/issue-75439.rs:10:23: 10:32
52+
// + span: $DIR/issue-75439.rs:11:23: 11:32
5353
// + literal: Const { ty: unsafe extern "rust-intrinsic" fn(u32) -> [u8; 4] {transmute::<u32, [u8; 4]>}, val: Value(<ZST>) }
5454
}
5555

0 commit comments

Comments
 (0)