We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f75bfa commit 5f9d9e5Copy full SHA for 5f9d9e5
tests/mir-opt/issues/issue_75439.rs
@@ -1,10 +1,13 @@
1
-// skip-filecheck
2
// EMIT_MIR issue_75439.foo.MatchBranchSimplification.diff
3
//@ ignore-endian-big
4
5
use std::mem::transmute;
6
7
pub fn foo(bytes: [u8; 16]) -> Option<[u8; 4]> {
+ // CHECK-LABEL: fn foo(
8
+ // CHECK: bb2: {
9
+ // CHECK-NEXT: 0: bb3
10
+ // CHECK-SAME: 4294901760: bb3
11
// big endian `u32`s
12
let dwords: [u32; 4] = unsafe { transmute(bytes) };
13
const FF: u32 = 0x0000_ffff_u32.to_be();
0 commit comments