[all-commits] [llvm/llvm-project] de9a72: Read/write external resource alignment tag in litt...
Ulrich Weigand via All-commits
all-commits at lists.llvm.org
Tue Jul 12 00:37:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de9a7260aca314778da7f768cd4d8687defc759a
https://github.com/llvm/llvm-project/commit/de9a7260aca314778da7f768cd4d8687defc759a
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2022-07-12 (Tue, 12 Jul 2022)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/Parser/Parser.cpp
Log Message:
-----------
Read/write external resource alignment tag in little-endian
https://reviews.llvm.org/D126446 added support for encoding
binary blobs in MLIR assembly. To enable cross-architecture
compatibility, these need to be encoded in little-endian format.
This patch is a first step in that direction by reading and
writing the alignment tag that those blobs are prefixed by
in little-endian format. This fixes assertion failures in
several test cases on big-endian platforms.
The actual content of the blob is not yet handled here.
Differential Revision: https://reviews.llvm.org/D129483
More information about the All-commits
mailing list