1;;! target = "x86_64" 2;;! flags = "-W function-references,gc -C collector=null" 3;;! test = "optimize" 4 5(module 6 (type $ty (array (mut i64))) 7 8 (func (param i64 i64 i64) (result (ref $ty)) 9 (array.new_fixed $ty 3 (local.get 0) (local.get 1) (local.get 2)) 10 ) 11) 12;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { 13;; gv0 = vmctx 14;; gv1 = load.i64 notrap aligned readonly gv0+8 15;; gv2 = load.i64 notrap aligned gv1+24 16;; gv3 = vmctx 17;; gv4 = load.i64 notrap aligned readonly can_move gv3+8 18;; gv5 = load.i64 notrap aligned gv4+40 19;; gv6 = load.i64 notrap aligned readonly can_move gv4+32 20;; sig0 = (i64 vmctx, i64) -> i8 tail 21;; fn0 = colocated u805306368:26 sig0 22;; stack_limit = gv2 23;; 24;; block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i64): 25;; @0025 v17 = load.i64 notrap aligned readonly v0+32 26;; @0025 v18 = load.i32 notrap aligned v17 27;; v73 = iconst.i32 7 28;; @0025 v21 = uadd_overflow_trap v18, v73, user17 ; v73 = 7 29;; v80 = iconst.i32 -8 30;; @0025 v23 = band v21, v80 ; v80 = -8 31;; v65 = iconst.i32 40 32;; @0025 v24 = uadd_overflow_trap v23, v65, user17 ; v65 = 40 33;; @0025 v50 = load.i64 notrap aligned readonly can_move v0+8 34;; @0025 v26 = load.i64 notrap aligned v50+40 35;; @0025 v25 = uextend.i64 v24 36;; @0025 v27 = icmp ule v25, v26 37;; @0025 brif v27, block2, block3 38;; 39;; block2: 40;; v81 = iconst.i32 -1476394968 41;; @0025 v31 = load.i64 notrap aligned readonly can_move v50+32 42;; v150 = band.i32 v21, v80 ; v80 = -8 43;; v151 = uextend.i64 v150 44;; @0025 v33 = iadd v31, v151 45;; @0025 store notrap aligned v81, v33 ; v81 = -1476394968 46;; @0025 v37 = load.i64 notrap aligned readonly can_move v0+40 47;; @0025 v38 = load.i32 notrap aligned readonly can_move v37 48;; @0025 store notrap aligned v38, v33+4 49;; @0025 store.i32 notrap aligned v24, v17 50;; @0025 v6 = iconst.i32 3 51;; v53 = iconst.i64 8 52;; @0025 v39 = iadd v33, v53 ; v53 = 8 53;; @0025 store notrap aligned v6, v39 ; v6 = 3 54;; v89 = iconst.i64 16 55;; v95 = iadd v33, v89 ; v89 = 16 56;; @0025 store.i64 notrap aligned little v2, v95 57;; v55 = iconst.i64 24 58;; v103 = iadd v33, v55 ; v55 = 24 59;; @0025 store.i64 notrap aligned little v3, v103 60;; v52 = iconst.i64 32 61;; v114 = iadd v33, v52 ; v52 = 32 62;; @0025 store.i64 notrap aligned little v4, v114 63;; @0029 jump block1 64;; 65;; block3 cold: 66;; @0025 v29 = isub.i64 v25, v26 67;; @0025 v30 = call fn0(v0, v29) 68;; @0025 jump block2 69;; 70;; block1: 71;; v152 = band.i32 v21, v80 ; v80 = -8 72;; @0029 return v152 73;; } 74