[PATCH] D80695: [mlir] Added big endian version of "dense-elements-hex.mlir"

Haruki Imai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 08:52:33 PDT 2020


imaihal updated this revision to Diff 299073.
imaihal added a comment.
Herald added subscribers: rdzhabarov, mgorny.
Herald added a reviewer: rriddle.

Implemented the conversion from LE to BE in `AttributeParser` and from BE to LE in `AsmPrinter`
, assuming that HEX in dense.attr is always LE.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80695/new/

https://reviews.llvm.org/D80695

Files:
  mlir/include/mlir/Support/EndianUtilities.h
  mlir/lib/IR/AsmPrinter.cpp
  mlir/lib/Parser/AttributeParser.cpp
  mlir/lib/Support/CMakeLists.txt
  mlir/lib/Support/EndianUtilities.cpp
  mlir/test/IR/dense-elements-hex.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80695.299073.patch
Type: text/x-patch
Size: 9263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201019/ab913804/attachment.bin>


More information about the llvm-commits mailing list