about summary refs log tree commit diff
path: root/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-10-24 15:16:51 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-10-24 15:16:57 +0000
commit9c85dfa1d755004b5499f45e2fd921c298f90a2e (patch)
treeead67d392637168868aed07dcb43b9cea7af8892 /tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff
parent8c1b039d482149f643a88c6d7af526b18f56dd8f (diff)
downloadrust-9c85dfa1d755004b5499f45e2fd921c298f90a2e.tar.gz
rust-9c85dfa1d755004b5499f45e2fd921c298f90a2e.zip
Tweak test to avoid platform dependency.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff')
-rw-r--r--tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff b/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff
index c2c95657a2a..01ec3f623d1 100644
--- a/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff
+++ b/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff
@@ -16,7 +16,7 @@
       let mut _26: &&BigStruct;
       let mut _28: f32;
       let mut _29: std::option::Option<S>;
-      let mut _30: &[f64];
+      let mut _30: &[f32];
       let mut _31: &SmallStruct;
       let mut _32: &SmallStruct;
       let mut _33: &SmallStruct;
@@ -52,14 +52,14 @@
                               debug ss => _15;
                               let _19: f32;
                               let _20: std::option::Option<S>;
-                              let _21: &[f64];
+                              let _21: &[f32];
                               scope 7 {
                                   debug a => _19;
                                   debug b => _20;
                                   debug c => _21;
                                   let _23: f32;
                                   let _24: std::option::Option<S>;
-                                  let _25: &[f64];
+                                  let _25: &[f32];
                                   scope 8 {
                                       debug a => _23;
                                       debug b => _24;
@@ -146,7 +146,7 @@
           StorageLive(_20);
           _20 = (_22.1: std::option::Option<S>);
           StorageLive(_21);
-          _21 = (_22.2: &[f64]);
+          _21 = (_22.2: &[f32]);
           StorageDead(_22);
           StorageLive(_26);
           _26 = const {ALLOC5: &&BigStruct};
@@ -161,7 +161,7 @@
 +         _24 = const Option::<S>::Some(S(35_i32));
           StorageLive(_25);
           _38 = deref_copy (*_26);
-          _25 = ((*_38).2: &[f64]);
+          _25 = ((*_38).2: &[f32]);
           StorageDead(_26);
           StorageLive(_27);
           StorageLive(_28);
@@ -228,8 +228,8 @@
       0x10 │ 02 00 00 00 00 00 00 00 00 00 a4 42 __ __ __ __ │ ...........B░░░░
   }
   
-  ALLOC1 (size: 16, align: 8) {
-      00 00 00 00 00 80 46 40 00 00 00 00 00 00 52 40 │ ......F@......R@
+  ALLOC1 (size: 8, align: 4) {
+      00 00 34 42 00 00 90 42                         │ ..4B...B
   }
   
   ALLOC4 (static: SMALL_STAT, size: 8, align: 8) {