diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-30 21:11:30 +0100 |
|---|---|---|
| committer | nils <48135649+Nilstrieb@users.noreply.github.com> | 2023-01-17 16:23:22 +0100 |
| commit | f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6 (patch) | |
| tree | 4b0add72699a923fde3a2c7801330403a369c6ca /tests/codegen/vec-calloc.rs | |
| parent | af23ad93cd3309e90ccb2c49b7a7b2ac913e0d06 (diff) | |
| download | rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.tar.gz rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.zip | |
Add more codegen tests
Diffstat (limited to 'tests/codegen/vec-calloc.rs')
| -rw-r--r-- | tests/codegen/vec-calloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/vec-calloc.rs b/tests/codegen/vec-calloc.rs index ae6e448f172..442cdd41dc6 100644 --- a/tests/codegen/vec-calloc.rs +++ b/tests/codegen/vec-calloc.rs @@ -162,6 +162,6 @@ pub fn vec_option_bool(n: usize) -> Vec<Option<bool>> { } // Ensure that __rust_alloc_zeroed gets the right attributes for LLVM to optimize it away. -// CHECK: declare noalias ptr @__rust_alloc_zeroed(i64, i64 allocalign) unnamed_addr [[RUST_ALLOC_ZEROED_ATTRS:#[0-9]+]] +// CHECK: declare noalias noundef ptr @__rust_alloc_zeroed(i64 noundef, i64 allocalign noundef) unnamed_addr [[RUST_ALLOC_ZEROED_ATTRS:#[0-9]+]] // CHECK-DAG: attributes [[RUST_ALLOC_ZEROED_ATTRS]] = { {{.*}} allockind("alloc,zeroed,aligned") allocsize(0) uwtable "alloc-family"="__rust_alloc" {{.*}} } |
