diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-07-04 16:01:16 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-07-20 11:33:49 -0700 |
| commit | 34732e8560a3fea72bab9f2c9840897faa4f55b5 (patch) | |
| tree | 0c965eb3f105dba15e765274bade0805cbb67ff3 /tests/codegen/iter-repeat-n-trivial-drop.rs | |
| parent | 06a53ddc0bd3a50f9bcf2f7c373011dc7869f59f (diff) | |
| download | rust-34732e8560a3fea72bab9f2c9840897faa4f55b5.tar.gz rust-34732e8560a3fea72bab9f2c9840897faa4f55b5.zip | |
Get `!nonnull` metadata consistently in slice iterators, without needing `assume`s
Diffstat (limited to 'tests/codegen/iter-repeat-n-trivial-drop.rs')
| -rw-r--r-- | tests/codegen/iter-repeat-n-trivial-drop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen/iter-repeat-n-trivial-drop.rs b/tests/codegen/iter-repeat-n-trivial-drop.rs index 68b10934a0d..0b08e578151 100644 --- a/tests/codegen/iter-repeat-n-trivial-drop.rs +++ b/tests/codegen/iter-repeat-n-trivial-drop.rs @@ -34,6 +34,7 @@ pub fn iter_repeat_n_next(it: &mut std::iter::RepeatN<NotCopy>) -> Option<NotCop // CHECK: [[EMPTY]]: // CHECK-NOT: br // CHECK: phi i16 + // CHECK-SAME: [ %[[VAL]], %[[NOT_EMPTY]] ] // CHECK-NOT: br // CHECK: ret |
