Last active
August 8, 2019 11:39
-
-
Save gnzlbg/479ba3ee6a563af17e0d517de21e241b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WARNING: This output format is intended for human consumers only | |
// and is subject to change without notice. Knock yourself out. | |
fn S(_1: [f32; _]) -> S<N> { | |
let mut _0: S<N>; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:1: 9:36 | |
bb0: { | |
(_0.0: [f32; _]) = move _1; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:1: 9:36 | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:1: 9:36 | |
} | |
} | |
<impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:1: 27:2>::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:21: 21:22 | |
bb0: { | |
_0 = const 4usize; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:21: 21:22 | |
// ty::Const | |
// + ty: usize | |
// + val: Scalar(0x0000000000000004) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:21: 21:22 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Scalar(0x0000000000000004) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:21: 21:22 | |
} | |
} | |
<impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21>::clone::{{constant}}#1: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
bb0: { | |
_0 = const N; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
// ty::Const | |
// + ty: usize | |
// + val: Param(N/#0) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Param(N/#0) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
} | |
} | |
S::0::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
bb0: { | |
_0 = const N; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
// ty::Const | |
// + ty: usize | |
// + val: Param(N/#0) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Param(N/#0) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:9:32: 9:33 | |
} | |
} | |
main::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:19: 31:20 | |
bb0: { | |
_0 = const 4usize; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:19: 31:20 | |
// ty::Const | |
// + ty: usize | |
// + val: Scalar(0x0000000000000004) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:19: 31:20 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Scalar(0x0000000000000004) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:19: 31:20 | |
} | |
} | |
fn main() -> () { | |
let mut _0: (); // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:30:15: 30:15 | |
let mut _2: [f32; 4]; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:22: 31:54 | |
let mut _4: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:17: 32:20 | |
let mut _5: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:22: 32:25 | |
let mut _7: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:31: 33:32 | |
let mut _9: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:31: 34:32 | |
let mut _10: (&f32, &f32); // in scope 0 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
let mut _11: &f32; // in scope 0 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
let mut _12: &f32; // in scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
let mut _15: bool; // in scope 0 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
let mut _16: bool; // in scope 0 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
let mut _17: f32; // in scope 0 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
let mut _18: f32; // in scope 0 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
let mut _19: &std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:7: 9:44 | |
let mut _20: &std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:7: 9:44 | |
let _21: std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _22: &[&str]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _23: &[&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _24: &[&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _25: &[std::fmt::ArgumentV1]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _26: &[std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _27: &[std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let _28: [std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _29: (&&f32, &&f32); // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _30: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let _31: &f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _32: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let _33: &f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _36: std::fmt::ArgumentV1; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _37: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _38: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _39: std::fmt::ArgumentV1; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _40: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _41: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _42: &(&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
let mut _43: &(&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
let mut _44: (&f32, &f32); // in scope 0 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
let mut _45: &f32; // in scope 0 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
let mut _46: &f32; // in scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
let mut _49: bool; // in scope 0 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
let mut _50: bool; // in scope 0 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
let mut _51: f32; // in scope 0 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
let mut _52: f32; // in scope 0 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
let mut _53: &std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:7: 9:44 | |
let mut _54: &std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:7: 9:44 | |
let _55: std::fmt::Arguments; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _56: &[&str]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _57: &[&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _58: &[&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _59: &[std::fmt::ArgumentV1]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _60: &[std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _61: &[std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let _62: [std::fmt::ArgumentV1; 2]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _63: (&&f32, &&f32); // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _64: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let _65: &f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _66: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let _67: &f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _70: std::fmt::ArgumentV1; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _71: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _72: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 0 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
let mut _73: std::fmt::ArgumentV1; // in scope 0 at <::std::macros::panic macros>:9:9: 9:44 | |
let mut _74: &&f32; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _75: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>; // in scope 0 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
let mut _76: &(&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
let mut _77: &(&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
scope 1 { | |
let _1: S<4usize>; // "lr2" in scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:9: 31:12 | |
scope 2 { | |
let _3: S<4usize>; // "a" in scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:9: 32:10 | |
scope 3 { | |
let _6: f32 as UserTypeProjection { base: UserType(1), projs: [] }; // "x" in scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:9: 33:10 | |
scope 4 { | |
let _8: f32 as UserTypeProjection { base: UserType(3), projs: [] }; // "y" in scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:9: 34:10 | |
scope 5 { | |
let _13: &f32; // "left_val" in scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
let _14: &f32; // "right_val" in scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
let _47: &f32; // "left_val" in scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
let _48: &f32; // "right_val" in scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
scope 6 { | |
let _34: &&f32; // "arg0" in scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
let _35: &&f32; // "arg1" in scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
scope 7 { | |
} | |
} | |
scope 8 { | |
let _68: &&f32; // "arg0" in scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
let _69: &&f32; // "arg1" in scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
StorageLive(_1); // bb0[0]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:9: 31:12 | |
StorageLive(_2); // bb0[1]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:22: 31:54 | |
_2 = [const 1f32, const 2f32, const 3f32, const 4f32]; // bb0[2]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:22: 31:54 | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x3f800000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:23: 31:29 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x3f800000) } | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x40000000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:31: 31:37 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x40000000) } | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x40400000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:39: 31:45 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x40400000) } | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x40800000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:47: 31:53 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x40800000) } | |
(_1.0: [f32; 4]) = move _2; // bb0[3]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:15: 31:55 | |
StorageDead(_2); // bb0[4]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:31:54: 31:55 | |
StorageLive(_3); // bb0[5]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:9: 32:10 | |
StorageLive(_4); // bb0[6]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:17: 32:20 | |
_4 = _1; // bb0[7]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:17: 32:20 | |
StorageLive(_5); // bb0[8]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:22: 32:25 | |
_5 = _1; // bb0[9]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:22: 32:25 | |
_3 = const add::<S<4usize>>(move _4, move _5) -> bb1; // bb0[10]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:13: 32:26 | |
// ty::Const | |
// + ty: fn(S<4usize>, S<4usize>) -> S<4usize> {add::<S<4usize>>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:13: 32:16 | |
// + ty: fn(S<4usize>, S<4usize>) -> S<4usize> {add::<S<4usize>>} | |
// + literal: Const { ty: fn(S<4usize>, S<4usize>) -> S<4usize> {add::<S<4usize>>}, val: Scalar(<ZST>) } | |
} | |
bb1: { | |
StorageDead(_5); // bb1[0]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:25: 32:26 | |
StorageDead(_4); // bb1[1]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:32:25: 32:26 | |
StorageLive(_6); // bb1[2]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:9: 33:10 | |
StorageLive(_7); // bb1[3]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:31: 33:32 | |
_7 = _3; // bb1[4]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:31: 33:32 | |
_6 = const simd_extract::<S<4usize>, f32>(move _7, const 0u32) -> bb2; // bb1[5]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:18: 33:36 | |
// ty::Const | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:18: 33:30 | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>} | |
// + literal: Const { ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>}, val: Scalar(<ZST>) } | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:34: 33:35 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000000) } | |
} | |
bb2: { | |
StorageDead(_7); // bb2[0]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:33:35: 33:36 | |
StorageLive(_8); // bb2[1]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:9: 34:10 | |
StorageLive(_9); // bb2[2]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:31: 34:32 | |
_9 = _3; // bb2[3]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:31: 34:32 | |
_8 = const simd_extract::<S<4usize>, f32>(move _9, const 1u32) -> bb3; // bb2[4]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:18: 34:36 | |
// ty::Const | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:18: 34:30 | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>} | |
// + literal: Const { ty: unsafe extern "platform-intrinsic" fn(S<4usize>, u32) -> f32 {simd_extract::<S<4usize>, f32>}, val: Scalar(<ZST>) } | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000001) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:34: 34:35 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000001) } | |
} | |
bb3: { | |
StorageDead(_9); // bb3[0]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:34:35: 34:36 | |
StorageLive(_10); // bb3[1]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
StorageLive(_11); // bb3[2]: scope 5 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
_11 = &_6; // bb3[3]: scope 5 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
StorageLive(_12); // bb3[4]: scope 5 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
_12 = &(promoted[5]: f32); // bb3[5]: scope 5 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
(_10.0: &f32) = move _11; // bb3[6]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
(_10.1: &f32) = move _12; // bb3[7]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
StorageDead(_12); // bb3[8]: scope 5 at <::core::macros::assert_eq macros>:3:33: 3:34 | |
StorageDead(_11); // bb3[9]: scope 5 at <::core::macros::assert_eq macros>:3:33: 3:34 | |
StorageLive(_13); // bb3[10]: scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
_13 = (_10.0: &f32); // bb3[11]: scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
StorageLive(_14); // bb3[12]: scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
_14 = (_10.1: &f32); // bb3[13]: scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
StorageLive(_15); // bb3[14]: scope 6 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
StorageLive(_16); // bb3[15]: scope 6 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
StorageLive(_17); // bb3[16]: scope 6 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
_17 = (*_13); // bb3[17]: scope 6 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
StorageLive(_18); // bb3[18]: scope 6 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
_18 = (*_14); // bb3[19]: scope 6 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
_16 = Eq(move _17, move _18); // bb3[20]: scope 6 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
StorageDead(_18); // bb3[21]: scope 6 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
StorageDead(_17); // bb3[22]: scope 6 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
_15 = Not(move _16); // bb3[23]: scope 6 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
StorageDead(_16); // bb3[24]: scope 6 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
switchInt(_15) -> [false: bb4, otherwise: bb5]; // bb3[25]: scope 6 at <::core::macros::assert_eq macros>:7:14: 14:15 | |
} | |
bb4: { | |
StorageDead(_15); // bb4[0]: scope 6 at <::core::macros::assert_eq macros>:15:10: 15:11 | |
StorageDead(_14); // bb4[1]: scope 5 at <::core::macros::assert_eq macros>:16:6: 16:7 | |
StorageDead(_13); // bb4[2]: scope 5 at <::core::macros::assert_eq macros>:16:6: 16:7 | |
StorageDead(_10); // bb4[3]: scope 5 at <::core::macros::assert_eq macros>:17:2: 17:3 | |
StorageLive(_44); // bb4[4]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
StorageLive(_45); // bb4[5]: scope 5 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
_45 = &_8; // bb4[6]: scope 5 at <::core::macros::assert_eq macros>:3:13: 3:21 | |
StorageLive(_46); // bb4[7]: scope 5 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
_46 = &(promoted[2]: f32); // bb4[8]: scope 5 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
(_44.0: &f32) = move _45; // bb4[9]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
(_44.1: &f32) = move _46; // bb4[10]: scope 5 at <::core::macros::assert_eq macros>:3:12: 3:34 | |
StorageDead(_46); // bb4[11]: scope 5 at <::core::macros::assert_eq macros>:3:33: 3:34 | |
StorageDead(_45); // bb4[12]: scope 5 at <::core::macros::assert_eq macros>:3:33: 3:34 | |
StorageLive(_47); // bb4[13]: scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
_47 = (_44.0: &f32); // bb4[14]: scope 5 at <::core::macros::assert_eq macros>:5:11: 5:19 | |
StorageLive(_48); // bb4[15]: scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
_48 = (_44.1: &f32); // bb4[16]: scope 5 at <::core::macros::assert_eq macros>:5:22: 5:31 | |
StorageLive(_49); // bb4[17]: scope 8 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
StorageLive(_50); // bb4[18]: scope 8 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
StorageLive(_51); // bb4[19]: scope 8 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
_51 = (*_47); // bb4[20]: scope 8 at <::core::macros::assert_eq macros>:7:20: 7:30 | |
StorageLive(_52); // bb4[21]: scope 8 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
_52 = (*_48); // bb4[22]: scope 8 at <::core::macros::assert_eq macros>:7:34: 7:45 | |
_50 = Eq(move _51, move _52); // bb4[23]: scope 8 at <::core::macros::assert_eq macros>:7:19: 7:46 | |
StorageDead(_52); // bb4[24]: scope 8 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
StorageDead(_51); // bb4[25]: scope 8 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
_49 = Not(move _50); // bb4[26]: scope 8 at <::core::macros::assert_eq macros>:7:17: 7:46 | |
StorageDead(_50); // bb4[27]: scope 8 at <::core::macros::assert_eq macros>:7:45: 7:46 | |
switchInt(_49) -> [false: bb9, otherwise: bb10]; // bb4[28]: scope 8 at <::core::macros::assert_eq macros>:7:14: 14:15 | |
} | |
bb5: { | |
StorageLive(_19); // bb5[0]: scope 6 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_20); // bb5[1]: scope 6 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_21); // bb5[2]: scope 6 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_22); // bb5[3]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_23); // bb5[4]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_24); // bb5[5]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_24 = &(promoted[4]: [&str; 3]); // bb5[6]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_23 = _24; // bb5[7]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_22 = move _23 as &[&str] (Pointer(Unsize)); // bb5[8]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_23); // bb5[9]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageLive(_25); // bb5[10]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_26); // bb5[11]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_27); // bb5[12]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_28); // bb5[13]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_29); // bb5[14]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_30); // bb5[15]: scope 6 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_31); // bb5[16]: scope 6 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_31 = _13; // bb5[17]: scope 6 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_30 = &_31; // bb5[18]: scope 6 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_32); // bb5[19]: scope 6 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
StorageLive(_33); // bb5[20]: scope 6 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_33 = _14; // bb5[21]: scope 6 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_32 = &_33; // bb5[22]: scope 6 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
(_29.0: &&f32) = move _30; // bb5[23]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
(_29.1: &&f32) = move _32; // bb5[24]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_32); // bb5[25]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_30); // bb5[26]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageLive(_34); // bb5[27]: scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
_34 = (_29.0: &&f32); // bb5[28]: scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
StorageLive(_35); // bb5[29]: scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
_35 = (_29.1: &&f32); // bb5[30]: scope 6 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
StorageLive(_36); // bb5[31]: scope 7 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_37); // bb5[32]: scope 7 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_37 = _34; // bb5[33]: scope 7 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_38); // bb5[34]: scope 7 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_38 = const <&f32 as std::fmt::Debug>::fmt as for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> (Pointer(ReifyFnPointer)); // bb5[35]: scope 7 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:13:21: 13:33 | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt}, val: Scalar(<ZST>) } | |
_36 = const std::fmt::ArgumentV1::new::<&f32>(move _37, move _38) -> bb6; // bb5[36]: scope 7 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + user_ty: UserType(6) | |
// + literal: Const { ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>}, val: Scalar(<ZST>) } | |
} | |
bb6: { | |
StorageDead(_38); // bb6[0]: scope 7 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_37); // bb6[1]: scope 7 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageLive(_39); // bb6[2]: scope 7 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_40); // bb6[3]: scope 7 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_40 = _35; // bb6[4]: scope 7 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
StorageLive(_41); // bb6[5]: scope 7 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_41 = const <&f32 as std::fmt::Debug>::fmt as for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> (Pointer(ReifyFnPointer)); // bb6[6]: scope 7 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:13:36: 13:49 | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt}, val: Scalar(<ZST>) } | |
_39 = const std::fmt::ArgumentV1::new::<&f32>(move _40, move _41) -> bb7; // bb6[7]: scope 7 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + user_ty: UserType(7) | |
// + literal: Const { ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>}, val: Scalar(<ZST>) } | |
} | |
bb7: { | |
StorageDead(_41); // bb7[0]: scope 7 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_40); // bb7[1]: scope 7 at <::std::macros::panic macros>:9:43: 9:44 | |
_28 = [move _36, move _39]; // bb7[2]: scope 7 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_39); // bb7[3]: scope 7 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_36); // bb7[4]: scope 7 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_35); // bb7[5]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_34); // bb7[6]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
_27 = &_28; // bb7[7]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_26 = _27; // bb7[8]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_25 = move _26 as &[std::fmt::ArgumentV1] (Pointer(Unsize)); // bb7[9]: scope 6 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_26); // bb7[10]: scope 6 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
_21 = const std::fmt::Arguments::new_v1(move _22, move _25) -> bb8; // bb7[11]: scope 6 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1} | |
// + user_ty: UserType(5) | |
// + literal: Const { ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1}, val: Scalar(<ZST>) } | |
} | |
bb8: { | |
StorageDead(_25); // bb8[0]: scope 6 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_22); // bb8[1]: scope 6 at <::std::macros::panic macros>:9:43: 9:44 | |
_20 = &_21; // bb8[2]: scope 6 at <::std::macros::panic macros>:9:7: 9:44 | |
_19 = _20; // bb8[3]: scope 6 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_42); // bb8[4]: scope 6 at <::std::macros::panic macros>:9:47: 10:60 | |
StorageLive(_43); // bb8[5]: scope 6 at <::std::macros::panic macros>:9:47: 10:60 | |
_43 = &(promoted[3]: (&str, u32, u32)); // bb8[6]: scope 6 at <::std::macros::panic macros>:9:47: 10:60 | |
_42 = _43; // bb8[7]: scope 6 at <::std::macros::panic macros>:9:47: 10:60 | |
const std::rt::begin_panic_fmt(move _19, move _42); // bb8[8]: scope 6 at <::std::macros::panic macros>:8:6: 10:61 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:8:6: 8:38 | |
// + ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt}, val: Scalar(<ZST>) } | |
} | |
bb9: { | |
StorageDead(_49); // bb9[0]: scope 8 at <::core::macros::assert_eq macros>:15:10: 15:11 | |
StorageDead(_48); // bb9[1]: scope 5 at <::core::macros::assert_eq macros>:16:6: 16:7 | |
StorageDead(_47); // bb9[2]: scope 5 at <::core::macros::assert_eq macros>:16:6: 16:7 | |
StorageDead(_44); // bb9[3]: scope 5 at <::core::macros::assert_eq macros>:17:2: 17:3 | |
StorageDead(_8); // bb9[4]: scope 4 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:37:1: 37:2 | |
StorageDead(_6); // bb9[5]: scope 3 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:37:1: 37:2 | |
StorageDead(_3); // bb9[6]: scope 2 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:37:1: 37:2 | |
StorageDead(_1); // bb9[7]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:37:1: 37:2 | |
return; // bb9[8]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:37:3: 37:3 | |
} | |
bb10: { | |
StorageLive(_53); // bb10[0]: scope 8 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_54); // bb10[1]: scope 8 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_55); // bb10[2]: scope 8 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_56); // bb10[3]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_57); // bb10[4]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_58); // bb10[5]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_58 = &(promoted[1]: [&str; 3]); // bb10[6]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_57 = _58; // bb10[7]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_56 = move _57 as &[&str] (Pointer(Unsize)); // bb10[8]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_57); // bb10[9]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageLive(_59); // bb10[10]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_60); // bb10[11]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_61); // bb10[12]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_62); // bb10[13]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_63); // bb10[14]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageLive(_64); // bb10[15]: scope 8 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_65); // bb10[16]: scope 8 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_65 = _47; // bb10[17]: scope 8 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_64 = &_65; // bb10[18]: scope 8 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_66); // bb10[19]: scope 8 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
StorageLive(_67); // bb10[20]: scope 8 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_67 = _48; // bb10[21]: scope 8 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_66 = &_67; // bb10[22]: scope 8 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
(_63.0: &&f32) = move _64; // bb10[23]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
(_63.1: &&f32) = move _66; // bb10[24]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_66); // bb10[25]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_64); // bb10[26]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageLive(_68); // bb10[27]: scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
_68 = (_63.0: &&f32); // bb10[28]: scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
StorageLive(_69); // bb10[29]: scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
_69 = (_63.1: &&f32); // bb10[30]: scope 8 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:1:1: 1:1 | |
StorageLive(_70); // bb10[31]: scope 9 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_71); // bb10[32]: scope 9 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_71 = _68; // bb10[33]: scope 9 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
StorageLive(_72); // bb10[34]: scope 9 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
_72 = const <&f32 as std::fmt::Debug>::fmt as for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> (Pointer(ReifyFnPointer)); // bb10[35]: scope 9 at <::core::macros::assert_eq macros>:13:21: 13:33 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:13:21: 13:33 | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt}, val: Scalar(<ZST>) } | |
_70 = const std::fmt::ArgumentV1::new::<&f32>(move _71, move _72) -> bb11; // bb10[36]: scope 9 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + user_ty: UserType(9) | |
// + literal: Const { ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>}, val: Scalar(<ZST>) } | |
} | |
bb11: { | |
StorageDead(_72); // bb11[0]: scope 9 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_71); // bb11[1]: scope 9 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageLive(_73); // bb11[2]: scope 9 at <::std::macros::panic macros>:9:9: 9:44 | |
StorageLive(_74); // bb11[3]: scope 9 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_74 = _69; // bb11[4]: scope 9 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
StorageLive(_75); // bb11[5]: scope 9 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
_75 = const <&f32 as std::fmt::Debug>::fmt as for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> (Pointer(ReifyFnPointer)); // bb11[6]: scope 9 at <::core::macros::assert_eq macros>:13:36: 13:49 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:13:36: 13:49 | |
// + ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error> {<&f32 as std::fmt::Debug>::fmt}, val: Scalar(<ZST>) } | |
_73 = const std::fmt::ArgumentV1::new::<&f32>(move _74, move _75) -> bb12; // bb11[7]: scope 9 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>} | |
// + user_ty: UserType(10) | |
// + literal: Const { ty: for<'b> fn(&'b &f32, for<'r, 's, 't0> fn(&'r &f32, &'s mut std::fmt::Formatter<'t0>) -> std::result::Result<(), std::fmt::Error>) -> std::fmt::ArgumentV1<'b> {std::fmt::ArgumentV1::new::<&f32>}, val: Scalar(<ZST>) } | |
} | |
bb12: { | |
StorageDead(_75); // bb12[0]: scope 9 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_74); // bb12[1]: scope 9 at <::std::macros::panic macros>:9:43: 9:44 | |
_62 = [move _70, move _73]; // bb12[2]: scope 9 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_73); // bb12[3]: scope 9 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_70); // bb12[4]: scope 9 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_69); // bb12[5]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
StorageDead(_68); // bb12[6]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
_61 = &_62; // bb12[7]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_60 = _61; // bb12[8]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_59 = move _60 as &[std::fmt::ArgumentV1] (Pointer(Unsize)); // bb12[9]: scope 8 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
StorageDead(_60); // bb12[10]: scope 8 at <::core::macros::assert_eq macros>:12:16: 12:17 | |
_55 = const std::fmt::Arguments::new_v1(move _56, move _59) -> bb13; // bb12[11]: scope 8 at <::std::macros::panic macros>:9:9: 9:44 | |
// ty::Const | |
// + ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:9:9: 9:44 | |
// + ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1} | |
// + user_ty: UserType(8) | |
// + literal: Const { ty: fn(&[&str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1}, val: Scalar(<ZST>) } | |
} | |
bb13: { | |
StorageDead(_59); // bb13[0]: scope 8 at <::std::macros::panic macros>:9:43: 9:44 | |
StorageDead(_56); // bb13[1]: scope 8 at <::std::macros::panic macros>:9:43: 9:44 | |
_54 = &_55; // bb13[2]: scope 8 at <::std::macros::panic macros>:9:7: 9:44 | |
_53 = _54; // bb13[3]: scope 8 at <::std::macros::panic macros>:9:7: 9:44 | |
StorageLive(_76); // bb13[4]: scope 8 at <::std::macros::panic macros>:9:47: 10:60 | |
StorageLive(_77); // bb13[5]: scope 8 at <::std::macros::panic macros>:9:47: 10:60 | |
_77 = &(promoted[0]: (&str, u32, u32)); // bb13[6]: scope 8 at <::std::macros::panic macros>:9:47: 10:60 | |
_76 = _77; // bb13[7]: scope 8 at <::std::macros::panic macros>:9:47: 10:60 | |
const std::rt::begin_panic_fmt(move _53, move _76); // bb13[8]: scope 8 at <::std::macros::panic macros>:8:6: 10:61 | |
// ty::Const | |
// + ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: <::std::macros::panic macros>:8:6: 8:38 | |
// + ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt} | |
// + literal: Const { ty: for<'r, 's, 't0> fn(&'r std::fmt::Arguments<'s>, &'t0 (&'static str, u32, u32)) -> ! {std::rt::begin_panic_fmt}, val: Scalar(<ZST>) } | |
} | |
} | |
promoted[0] in main: (&str, u32, u32) = { | |
let mut _0: (&str, u32, u32); // return place in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
let mut _1: (&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
(_1.0: &str) = const "/Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs"; // bb0[0]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [47, 85, 115, 101, 114, 115, 47, 103, 110, 122, 108, 98, 103, 47, 112, 114, 111, 106, 101, 99, 116, 115, 47, 115, 105, 100, 101, 112, 114, 111, 106, 101, 99, 116, 115, 47, 114, 117, 115, 116, 47, 115, 114, 99, 47, 116, 101, 115, 116, 47, 117, 105, 47, 115, 105, 109, 100, 47, 115, 105, 109, 100, 45, 103, 101, 110, 101, 114, 105, 99, 115, 46, 114, 115], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [18446744073709551615, 1023], len: Size { raw: 74 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 74 } | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:5: 36:27 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [47, 85, 115, 101, 114, 115, 47, 103, 110, 122, 108, 98, 103, 47, 112, 114, 111, 106, 101, 99, 116, 115, 47, 115, 105, 100, 101, 112, 114, 111, 106, 101, 99, 116, 115, 47, 114, 117, 115, 116, 47, 115, 114, 99, 47, 116, 101, 115, 116, 47, 117, 105, 47, 115, 105, 109, 100, 47, 115, 105, 109, 100, 45, 103, 101, 110, 101, 114, 105, 99, 115, 46, 114, 115], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [18446744073709551615, 1023], len: Size { raw: 74 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 74 } } | |
(_1.1: u32) = const 36u32; // bb0[1]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000024) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:5: 36:27 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000024) } | |
(_1.2: u32) = const 5u32; // bb0[2]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000005) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:5: 36:27 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000005) } | |
_0 = move _1; // bb0[3]: scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
return; // bb0[4]: scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
} | |
} | |
promoted[1] in main: [&str; 3] = { | |
let mut _0: [&str; 3]; // return place in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _1: [&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _2: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _3: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _4: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _5: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _6: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _7: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
_3 = const "assertion failed: `(left == right)`\n left: `"; // bb0[0]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 96, 40, 108, 101, 102, 116, 32, 61, 61, 32, 114, 105, 103, 104, 116, 41, 96, 10, 32, 32, 108, 101, 102, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [35184372088831], len: Size { raw: 45 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 45 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 96, 40, 108, 101, 102, 116, 32, 61, 61, 32, 114, 105, 103, 104, 116, 41, 96, 10, 32, 32, 108, 101, 102, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [35184372088831], len: Size { raw: 45 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 45 } } | |
_2 = _3; // bb0[1]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_5 = const "`,\n right: `"; // bb0[2]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [96, 44, 10, 32, 114, 105, 103, 104, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [4095], len: Size { raw: 12 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 12 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [96, 44, 10, 32, 114, 105, 103, 104, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [4095], len: Size { raw: 12 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 12 } } | |
_4 = _5; // bb0[3]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_7 = const "`"; // bb0[4]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [1], len: Size { raw: 1 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 1 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [1], len: Size { raw: 1 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 1 } } | |
_6 = _7; // bb0[5]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_1 = [move _2, move _4, move _6]; // bb0[6]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_0 = move _1; // bb0[7]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
return; // bb0[8]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
} | |
} | |
promoted[2] in main: f32 = { | |
let mut _0: f32; // return place in scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
let mut _1: f32; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:19: 36:25 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
_1 = const 4f32; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:19: 36:25 | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x40800000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:36:19: 36:25 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x40800000) } | |
_0 = move _1; // bb0[1]: scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
return; // bb0[2]: scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
} | |
} | |
promoted[3] in main: (&str, u32, u32) = { | |
let mut _0: (&str, u32, u32); // return place in scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
let mut _1: (&str, u32, u32); // in scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
(_1.0: &str) = const "/Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs"; // bb0[0]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [47, 85, 115, 101, 114, 115, 47, 103, 110, 122, 108, 98, 103, 47, 112, 114, 111, 106, 101, 99, 116, 115, 47, 115, 105, 100, 101, 112, 114, 111, 106, 101, 99, 116, 115, 47, 114, 117, 115, 116, 47, 115, 114, 99, 47, 116, 101, 115, 116, 47, 117, 105, 47, 115, 105, 109, 100, 47, 115, 105, 109, 100, 45, 103, 101, 110, 101, 114, 105, 99, 115, 46, 114, 115], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [18446744073709551615, 1023], len: Size { raw: 74 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 74 } | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:5: 35:27 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [47, 85, 115, 101, 114, 115, 47, 103, 110, 122, 108, 98, 103, 47, 112, 114, 111, 106, 101, 99, 116, 115, 47, 115, 105, 100, 101, 112, 114, 111, 106, 101, 99, 116, 115, 47, 114, 117, 115, 116, 47, 115, 114, 99, 47, 116, 101, 115, 116, 47, 117, 105, 47, 115, 105, 109, 100, 47, 115, 105, 109, 100, 45, 103, 101, 110, 101, 114, 105, 99, 115, 46, 114, 115], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [18446744073709551615, 1023], len: Size { raw: 74 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 74 } } | |
(_1.1: u32) = const 35u32; // bb0[1]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000023) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:5: 35:27 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000023) } | |
(_1.2: u32) = const 5u32; // bb0[2]: scope 0 at <::std::macros::panic macros>:10:7: 10:60 | |
// ty::Const | |
// + ty: u32 | |
// + val: Scalar(0x00000005) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:5: 35:27 | |
// + ty: u32 | |
// + literal: Const { ty: u32, val: Scalar(0x00000005) } | |
_0 = move _1; // bb0[3]: scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
return; // bb0[4]: scope 0 at <::std::macros::panic macros>:9:47: 10:60 | |
} | |
} | |
promoted[4] in main: [&str; 3] = { | |
let mut _0: [&str; 3]; // return place in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _1: [&str; 3]; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _2: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _3: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _4: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _5: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _6: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
let mut _7: &str; // in scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
_3 = const "assertion failed: `(left == right)`\n left: `"; // bb0[0]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 96, 40, 108, 101, 102, 116, 32, 61, 61, 32, 114, 105, 103, 104, 116, 41, 96, 10, 32, 32, 108, 101, 102, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [35184372088831], len: Size { raw: 45 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 45 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [97, 115, 115, 101, 114, 116, 105, 111, 110, 32, 102, 97, 105, 108, 101, 100, 58, 32, 96, 40, 108, 101, 102, 116, 32, 61, 61, 32, 114, 105, 103, 104, 116, 41, 96, 10, 32, 32, 108, 101, 102, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [35184372088831], len: Size { raw: 45 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 45 } } | |
_2 = _3; // bb0[1]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_5 = const "`,\n right: `"; // bb0[2]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [96, 44, 10, 32, 114, 105, 103, 104, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [4095], len: Size { raw: 12 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 12 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [96, 44, 10, 32, 114, 105, 103, 104, 116, 58, 32, 96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [4095], len: Size { raw: 12 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 12 } } | |
_4 = _5; // bb0[3]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_7 = const "`"; // bb0[4]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
// ty::Const | |
// + ty: &str | |
// + val: Slice { data: Allocation { bytes: [96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [1], len: Size { raw: 1 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 1 } | |
// mir::Constant | |
// + span: <::core::macros::assert_eq macros>:10:19: 12:17 | |
// + ty: &str | |
// + literal: Const { ty: &str, val: Slice { data: Allocation { bytes: [96], relocations: Relocations(SortedMap { data: [] }), undef_mask: UndefMask { blocks: [1], len: Size { raw: 1 } }, align: Align { pow2: 0 }, mutability: Immutable, extra: () }, start: 0, end: 1 } } | |
_6 = _7; // bb0[5]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_1 = [move _2, move _4, move _6]; // bb0[6]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
_0 = move _1; // bb0[7]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
return; // bb0[8]: scope 0 at <::core::macros::assert_eq macros>:10:19: 12:17 | |
} | |
} | |
promoted[5] in main: f32 = { | |
let mut _0: f32; // return place in scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
let mut _1: f32; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:19: 35:25 | |
scope 1 { | |
scope 2 { | |
scope 3 { | |
scope 4 { | |
scope 5 { | |
scope 6 { | |
scope 7 { | |
} | |
} | |
scope 8 { | |
scope 9 { | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
bb0: { | |
_1 = const 2f32; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:19: 35:25 | |
// ty::Const | |
// + ty: f32 | |
// + val: Scalar(0x40000000) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:35:19: 35:25 | |
// + ty: f32 | |
// + literal: Const { ty: f32, val: Scalar(0x40000000) } | |
_0 = move _1; // bb0[1]: scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
return; // bb0[2]: scope 0 at <::core::macros::assert_eq macros>:3:24: 3:33 | |
} | |
} | |
<impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21>::clone::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
bb0: { | |
_0 = const N; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
// ty::Const | |
// + ty: usize | |
// + val: Param(N/#0) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Param(N/#0) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
} | |
} | |
fn <impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21>::clone(_1: &S<N>) -> S<N> { | |
let mut _0: S<N>; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
scope 1 { | |
} | |
bb0: { | |
_0 = (*_1); // bb0[0]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:21: 8:21 | |
} | |
} | |
fn add(_1: T, _2: T) -> T { | |
let mut _0: T; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:17:50: 17:51 | |
let mut _3: T; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:5: 18:8 | |
let mut _4: T; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:11: 18:14 | |
bb0: { | |
StorageLive(_3); // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:5: 18:8 | |
_3 = move _1; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:5: 18:8 | |
StorageLive(_4); // bb0[2]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:11: 18:14 | |
_4 = move _2; // bb0[3]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:11: 18:14 | |
_0 = const <T as std::ops::Add>::add(move _3, move _4) -> bb1; // bb0[4]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:5: 18:14 | |
// ty::Const | |
// + ty: fn(T, T) -> <T as std::ops::Add>::Output {<T as std::ops::Add>::add} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:5: 18:14 | |
// + ty: fn(T, T) -> <T as std::ops::Add>::Output {<T as std::ops::Add>::add} | |
// + literal: Const { ty: fn(T, T) -> <T as std::ops::Add>::Output {<T as std::ops::Add>::add}, val: Scalar(<ZST>) } | |
} | |
bb1: { | |
StorageDead(_4); // bb1[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:13: 18:14 | |
StorageDead(_3); // bb1[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:18:13: 18:14 | |
return; // bb1[2]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:19:2: 19:2 | |
} | |
} | |
<impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:10: 8:14>::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:10: 8:14 | |
bb0: { | |
_0 = const N; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:10: 8:14 | |
// ty::Const | |
// + ty: usize | |
// + val: Param(N/#0) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:10: 8:14 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Param(N/#0) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:10: 8:14 | |
} | |
} | |
fn <impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:21:1: 27:2>::add(_1: S<4usize>, _2: S<4usize>) -> S<4usize> { | |
let mut _0: S<4usize>; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:24:32: 24:36 | |
let mut _3: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:26: 25:30 | |
let mut _4: S<4usize>; // in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:32: 25:35 | |
scope 1 { | |
} | |
bb0: { | |
StorageLive(_3); // bb0[0]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:26: 25:30 | |
_3 = _1; // bb0[1]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:26: 25:30 | |
StorageLive(_4); // bb0[2]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:32: 25:35 | |
_4 = _2; // bb0[3]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:32: 25:35 | |
_0 = const simd_add::<S<4usize>>(move _3, move _4) -> bb1; // bb0[4]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:17: 25:36 | |
// ty::Const | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, S<4usize>) -> S<4usize> {simd_add::<S<4usize>>} | |
// + val: Scalar(<ZST>) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:17: 25:25 | |
// + ty: unsafe extern "platform-intrinsic" fn(S<4usize>, S<4usize>) -> S<4usize> {simd_add::<S<4usize>>} | |
// + literal: Const { ty: unsafe extern "platform-intrinsic" fn(S<4usize>, S<4usize>) -> S<4usize> {simd_add::<S<4usize>>}, val: Scalar(<ZST>) } | |
} | |
bb1: { | |
StorageDead(_4); // bb1[0]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:35: 25:36 | |
StorageDead(_3); // bb1[1]: scope 1 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:25:35: 25:36 | |
return; // bb1[2]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:26:6: 26:6 | |
} | |
} | |
<impl at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21>::{{constant}}#0: usize = { | |
let mut _0: usize; // return place in scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
bb0: { | |
_0 = const N; // bb0[0]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
// ty::Const | |
// + ty: usize | |
// + val: Param(N/#0) | |
// mir::Constant | |
// + span: /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
// + ty: usize | |
// + literal: Const { ty: usize, val: Param(N/#0) } | |
return; // bb0[1]: scope 0 at /Users/gnzlbg/projects/sideprojects/rust/src/test/ui/simd/simd-generics.rs:8:16: 8:21 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment