diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 10:35:44 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 10:36:29 -0500 |
| commit | c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121 (patch) | |
| tree | 32836b1faf50d739ca745caf583e4cde1d25481e /src/test/codegen | |
| parent | d5769e9843dede495551a781cf947b631984868f (diff) | |
| download | rust-c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121.tar.gz rust-c2e84fa5fc4788a8bcb97fbcdc2fa78359e44121.zip | |
reduce default uninit_const_chunk_threshold to 16 (from 256)
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/uninit-consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/uninit-consts.rs b/src/test/codegen/uninit-consts.rs index d8c8fce105f..17457bc628b 100644 --- a/src/test/codegen/uninit-consts.rs +++ b/src/test/codegen/uninit-consts.rs @@ -15,8 +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 contains more than 256 chunks -// (the default value of uninit_const_chunk_threshold). +// This shouldn't contain undef, since it contains more chunks +// than 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 |
