aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorHaruki Imai <imaihal@jp.ibm.com>2020-10-28 17:05:32 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-10-28 17:06:16 -0700
commita66e334cebec0c54ec357436563ddf78e3caab72 (patch)
treec50a7021c2f6f52119b85a737e776e931289e802 /llvm/lib/Transforms/Utils/Debugify.cpp
parentbf0440be91a6ea18fc8c1601f7ce6bcc8e6d2300 (diff)
downloadllvm-a66e334cebec0c54ec357436563ddf78e3caab72.zip
llvm-a66e334cebec0c54ec357436563ddf78e3caab72.tar.gz
llvm-a66e334cebec0c54ec357436563ddf78e3caab72.tar.bz2
[mlir] Convert raw data in dense element attributes for big-endian machines.
This patch fixes a bug [[ https://bugs.llvm.org/show_bug.cgi?id=46091 | 46091 ]] Raw data for the `dense-element attribute` is written in little endian (LE) format. This commit converts the format to big endian (BE) in ʻAttribute Parser` on the BE machine. Also, when outputting on a BE machine, the BE format is converted to LE in "AsmPrinter". Differential Revision: https://reviews.llvm.org/D80695
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions