diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2022-07-12 09:29:07 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2022-07-12 09:36:53 +0200 |
commit | de9a7260aca314778da7f768cd4d8687defc759a (patch) | |
tree | 7633134ec28b1a270d2f47bf66e21f2e32f9b1d1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | af40f99e2b4db501b955d04ae30fdf21853ea945 (diff) | |
download | llvm-de9a7260aca314778da7f768cd4d8687defc759a.zip llvm-de9a7260aca314778da7f768cd4d8687defc759a.tar.gz llvm-de9a7260aca314778da7f768cd4d8687defc759a.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions