diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 01:17:31 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 01:29:17 -0500 |
| commit | d5769e9843dede495551a781cf947b631984868f (patch) | |
| tree | 1e4350cf2cb0007243b391861c7a5efa33a509f0 /src/test/codegen | |
| parent | b7e5597491a7880934f927edb506605d3368794e (diff) | |
switch to limiting the number of init/uninit chunks
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/uninit-consts.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/codegen/uninit-consts.rs b/src/test/codegen/uninit-consts.rs index 0ca2197ecbc..d8c8fce105f 100644 --- a/src/test/codegen/uninit-consts.rs +++ b/src/test/codegen/uninit-consts.rs @@ -15,7 +15,8 @@ pub struct PartiallyUninit { // CHECK: [[PARTIALLY_UNINIT:@[0-9]+]] = private unnamed_addr constant <{ [4 x i8], [12 x i8] }> <{ [4 x i8] c"\EF\BE\AD\DE", [12 x i8] undef }>, align 4 -// This shouldn't contain undef, since it's larger than the 1024 byte limit. +// This shouldn't contain undef, since it contains more than 256 chunks +// (the default value of uninit_const_chunk_threshold). // CHECK: [[UNINIT_PADDING_HUGE:@[0-9]+]] = private unnamed_addr constant <{ [32768 x i8] }> <{ [32768 x i8] c"{{.+}}" }>, align 4 // CHECK: [[FULLY_UNINIT_HUGE:@[0-9]+]] = private unnamed_addr constant <{ [16384 x i8] }> undef |
