From d5769e9843dede495551a781cf947b631984868f Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Sat, 19 Feb 2022 01:17:31 -0500 Subject: switch to limiting the number of init/uninit chunks --- src/test/codegen/uninit-consts.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/codegen') 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 -- cgit 1.4.1-3-g733a5