We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f75bfa commit 7061551Copy full SHA for 7061551
tests/mir-opt/issues/issue_75439.rs
@@ -1,10 +1,14 @@
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: [[bb:bb[0-9]+]],
10
+ // CHECK-SAME: {{[0-9]+}}: [[bb]],
11
+
12
// big endian `u32`s
13
let dwords: [u32; 4] = unsafe { transmute(bytes) };
14
const FF: u32 = 0x0000_ffff_u32.to_be();
0 commit comments