diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2025-01-18 22:09:19 +0000 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-02-06 09:53:26 -0800 |
| commit | 197b416baf683a01f98cf31fce706943e30a6b3c (patch) | |
| tree | 36f7780171adb7dee40ff71741d4204b0abeab0e /tests/mir-opt/dataflow-const-prop/array_index.rs | |
| parent | c6063d45b7f9a4a4c33dd5f832b464b468ca32a1 (diff) | |
| download | rust-197b416baf683a01f98cf31fce706943e30a6b3c.tar.gz rust-197b416baf683a01f98cf31fce706943e30a6b3c.zip | |
Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung"
This reverts commit b57d93d8b9525fa261404b4cd9c0670eeb1264b8, reversing changes made to 0aeaa5eb22180fdf12a8489e63c4daa18da6f236. (cherry picked from commit 122a55bb442bd1995df9cf9b36e6f65ed3ef4a1d)
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/array_index.rs')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/array_index.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/array_index.rs b/tests/mir-opt/dataflow-const-prop/array_index.rs index 1aa8dcd28f4..e442ef99f79 100644 --- a/tests/mir-opt/dataflow-const-prop/array_index.rs +++ b/tests/mir-opt/dataflow-const-prop/array_index.rs @@ -11,10 +11,9 @@ fn main() { // CHECK: [[array_lit]] = [const 0_u32, const 1_u32, const 2_u32, const 3_u32]; // CHECK-NOT: {{_.*}} = Len( - // CHECK-NOT: {{_.*}} = PtrMetadata( // CHECK-NOT: {{_.*}} = Lt( // CHECK-NOT: assert(move _ - // CHECK: {{_.*}} = const 2_usize; + // CHECK: {{_.*}} = const 4_usize; // CHECK: {{_.*}} = const true; // CHECK: assert(const true // CHECK: [[x]] = copy [[array_lit]][2 of 3]; |
