[Mlir-commits] [mlir] [MLIR][Bytecode] Enforce alignment requirements (PR #157004)

Mehdi Amini llvmlistbot at llvm.org
Fri Sep 5 04:15:15 PDT 2025


================
@@ -125,7 +125,7 @@ lazy-loading, and more. Each section contains a Section ID, whose high bit
 indicates if the section has alignment requirements, a length (which allows for
 skipping over the section), and an optional alignment. When an alignment is
 present, a variable number of padding bytes (0xCB) may appear before the section
-data. The alignment of a section must be a power of 2.
+data. The alignment of a section must be a power of 2. The input bytecode buffer must satisfy the same alignment requirements as those of every section.
----------------
joker-eph wrote:

Please line wrap.

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


More information about the Mlir-commits mailing list