diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2024-02-24 00:48:20 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2024-04-11 21:42:35 -0400 |
| commit | f4426c189f2587fc5e8f48bf518cc75a37d93d0f (patch) | |
| tree | ed47a319b54f5b7a420c8e73f54fc5c9814c8b0b /tests/codegen/array-codegen.rs | |
| parent | a07f3eb43acc5df851e15176c7081a900a30a4d7 (diff) | |
| download | rust-f4426c189f2587fc5e8f48bf518cc75a37d93d0f.tar.gz rust-f4426c189f2587fc5e8f48bf518cc75a37d93d0f.zip | |
use [N x i8] for alloca types
Diffstat (limited to 'tests/codegen/array-codegen.rs')
| -rw-r--r-- | tests/codegen/array-codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/array-codegen.rs b/tests/codegen/array-codegen.rs index 1310e61c41d..fc272f2556c 100644 --- a/tests/codegen/array-codegen.rs +++ b/tests/codegen/array-codegen.rs @@ -18,7 +18,7 @@ pub fn array_load(a: &[u8; 4]) -> [u8; 4] { #[no_mangle] pub fn array_store(a: [u8; 4], p: &mut [u8; 4]) { // CHECK-NOT: alloca - // CHECK: %[[TEMP:.+]] = alloca i32, [[TEMPALIGN:align [0-9]+]] + // CHECK: %[[TEMP:.+]] = alloca [4 x i8], [[TEMPALIGN:align [0-9]+]] // CHECK-NOT: alloca // CHECK: %a = alloca [4 x i8] // CHECK-NOT: alloca |
