From 02424e4bc57344dc7436644f897b5500a1973242 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Sun, 15 Oct 2023 17:00:11 +0000 Subject: Normalize alloc-id in tests. --- .../enum.statics.DataflowConstProp.64bit.diff | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.64bit.diff') diff --git a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.64bit.diff b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.64bit.diff index 63799b3bac3..db4eb162bda 100644 --- a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.64bit.diff +++ b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.64bit.diff @@ -43,7 +43,7 @@ bb0: { StorageLive(_1); StorageLive(_2); - _2 = const {alloc1: &E}; + _2 = const {ALLOC0: &E}; _1 = (*_2); StorageDead(_2); StorageLive(_3); @@ -78,7 +78,7 @@ bb4: { StorageLive(_7); StorageLive(_8); - _8 = const {alloc2: &&E}; + _8 = const {ALLOC1: &&E}; _7 = (*_8); StorageDead(_8); StorageLive(_9); @@ -112,15 +112,15 @@ } } - alloc2 (static: RC, size: 8, align: 8) { - ╾───────alloc14───────╼ │ ╾──────╼ + ALLOC1 (static: RC, size: 8, align: 8) { + ╾───────ALLOC2────────╼ │ ╾──────╼ } - alloc14 (size: 8, align: 4) { + ALLOC2 (size: 8, align: 4) { 01 00 00 00 04 00 00 00 │ ........ } - alloc1 (static: statics::C, size: 8, align: 4) { + ALLOC0 (static: statics::C, size: 8, align: 4) { 00 00 00 00 00 00 00 00 │ ........ } -- cgit 1.4.1-3-g733a5