[all-commits] [llvm/llvm-project] 81c2cb: [mlir][ByteCodeReader] Fix bugs in EncodingReader:...
Peiming Liu via All-commits
all-commits at lists.llvm.org
Mon May 19 19:34:47 PDT 2025
Branch: refs/heads/users/peimingliu/fix-align-to
Home: https://github.com/llvm/llvm-project
Commit: 81c2cb1cdfe811279e28ae6e333d645d4c39d681
https://github.com/llvm/llvm-project/commit/81c2cb1cdfe811279e28ae6e333d645d4c39d681
Author: Peiming Liu <peiming at modular.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
Log Message:
-----------
[mlir][ByteCodeReader] Fix bugs in EncodingReader::alignTo
It seems that the number of padding value should be computed based on
the offset of the current pointer to the bytecode buffer
begin (instead of the absolute address of `ptr`). Otherwise, the
skipped padding value will be dependent on the alignment of
`buffer.begin()`?
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list