llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Mark Zhuang (zqb-all)

<details>
<summary>Changes</summary>

zlib-ng compresses the repetitive input slightly worse than zlib (~84KB vs 
~67KB), exceeding the 80KB bound. Raise it to 100KB.

Assisted-by: claude-opus

---
Full diff: https://github.com/llvm/llvm-project/pull/206879.diff


1 Files Affected:

- (modified) clang/test/Modules/embed-files-compressed.cpp (+3-2) 


``````````diff
diff --git a/clang/test/Modules/embed-files-compressed.cpp 
b/clang/test/Modules/embed-files-compressed.cpp
index 5318aeb10a81e..095270aa7ebf7 100644
--- a/clang/test/Modules/embed-files-compressed.cpp
+++ b/clang/test/Modules/embed-files-compressed.cpp
@@ -16,7 +16,8 @@
 // RUN: %clang_cc1 -fmodules -I%t -fmodules-cache-path=%t -fmodule-name=a 
-emit-module %t/modulemap -fmodules-embed-all-files -o %t/a.pcm
 //
 // The above embeds ~4.5MB of highly-predictable /s and \ns into the pcm file.
-// Check that the resulting file is under 80KB:
+// Check that the resulting file is under 100KB (zlib-ng compresses a bit
+// worse than zlib):
 //
 // RUN: wc -c %t/a.pcm | FileCheck --check-prefix=CHECK-SIZE %s
-// CHECK-SIZE: {{(^|[^0-9])[1-7][0-9][0-9][0-9][0-9]($|[^0-9])}}
+// CHECK-SIZE: {{(^|[^0-9])[1-9][0-9][0-9][0-9][0-9]($|[^0-9])}}

``````````

</details>


https://github.com/llvm/llvm-project/pull/206879
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to