diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-07-16 13:11:10 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-07-19 09:59:12 +0000 |
| commit | f5feb3e3ca739d0f2eeef6e914f97316a05af01d (patch) | |
| tree | 05a2523bb9cfb5a8ae1f08f613d3c6ec3e43abf8 /tests/codegen/iter-repeat-n-trivial-drop.rs | |
| parent | b657dc555b1ecf837cc4ea471fbae6a731529d55 (diff) | |
| download | rust-f5feb3e3ca739d0f2eeef6e914f97316a05af01d.tar.gz rust-f5feb3e3ca739d0f2eeef6e914f97316a05af01d.zip | |
Turn copy into moves during DSE.
Diffstat (limited to 'tests/codegen/iter-repeat-n-trivial-drop.rs')
| -rw-r--r-- | tests/codegen/iter-repeat-n-trivial-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/iter-repeat-n-trivial-drop.rs b/tests/codegen/iter-repeat-n-trivial-drop.rs index 65a0f7e7ffb..24059f190ac 100644 --- a/tests/codegen/iter-repeat-n-trivial-drop.rs +++ b/tests/codegen/iter-repeat-n-trivial-drop.rs @@ -33,7 +33,7 @@ pub fn iter_repeat_n_next(it: &mut std::iter::RepeatN<NotCopy>) -> Option<NotCop // CHECK: [[EMPTY]]: // CHECK-NOT: br - // CHECK: phi i16 [ %[[VAL]], %[[NOT_EMPTY]] ], [ undef, %start ] + // CHECK: phi i16 [ undef, %start ], [ %[[VAL]], %[[NOT_EMPTY]] ] // CHECK-NOT: br // CHECK: ret |
