[llvm] [DirectX][ObjectYAML] Fix SRCI round-trip tests that use zlib compression (PR #202479)

Vladislav Dzhidzhoev via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 03:26:08 PDT 2026


================
@@ -450,11 +450,6 @@ Error DXContainer::parseSourceInfo(StringRef Part) {
     return Err;
   Current += sizeof(SourceInfo->Parameters);
 
-  if (SourceInfo->Parameters.AlignedSizeInBytes != Part.size())
-    return parseFailed(formatv("size field in SRCI header ({0} bytes) does not "
-                               "match SRCI part size ({1} bytes)",
-                               SourceInfo->Parameters.AlignedSizeInBytes,
-                               Part.size()));
----------------
dzhidzhoev wrote:

That makes sense. I modified the check.

https://github.com/llvm/llvm-project/pull/202479


More information about the llvm-commits mailing list