about summary refs log tree commit diff
path: root/tests/mir-opt/gvn.slices.GVN.panic-abort.diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-12-24 13:00:48 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2024-01-07 13:54:05 +0000
commit7e39100586d717f5a350eb8704bcd8938d09419c (patch)
tree3c6030d6108a9fc00cd089bd4bca44998380c8ea /tests/mir-opt/gvn.slices.GVN.panic-abort.diff
parent4ee01faaf074f3a985bb7325f2209f9ee224cb5e (diff)
downloadrust-7e39100586d717f5a350eb8704bcd8938d09419c.tar.gz
rust-7e39100586d717f5a350eb8704bcd8938d09419c.zip
Avoid recording no-op replacements.
Diffstat (limited to 'tests/mir-opt/gvn.slices.GVN.panic-abort.diff')
-rw-r--r--tests/mir-opt/gvn.slices.GVN.panic-abort.diff12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/mir-opt/gvn.slices.GVN.panic-abort.diff b/tests/mir-opt/gvn.slices.GVN.panic-abort.diff
index ec449980312..f3f9073909e 100644
--- a/tests/mir-opt/gvn.slices.GVN.panic-abort.diff
+++ b/tests/mir-opt/gvn.slices.GVN.panic-abort.diff
@@ -194,15 +194,13 @@
 -         _23 = move _21;
 +         _23 = const core::panicking::AssertKind::Eq;
           StorageLive(_24);
--         StorageLive(_25);
+          StorageLive(_25);
 -         _25 = &(*_15);
-+         nop;
 +         _25 = &(*_9);
           _24 = &(*_25);
           StorageLive(_26);
--         StorageLive(_27);
+          StorageLive(_27);
 -         _27 = &(*_16);
-+         nop;
 +         _27 = &(*_12);
           _26 = &(*_27);
           StorageLive(_28);
@@ -293,15 +291,13 @@
 -         _49 = move _47;
 +         _49 = const core::panicking::AssertKind::Eq;
           StorageLive(_50);
--         StorageLive(_51);
+          StorageLive(_51);
 -         _51 = &(*_41);
-+         nop;
 +         _51 = &(*_35);
           _50 = &(*_51);
           StorageLive(_52);
--         StorageLive(_53);
+          StorageLive(_53);
 -         _53 = &(*_42);
-+         nop;
 +         _53 = &(*_38);
           _52 = &(*_53);
           StorageLive(_54);