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

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 22:16:35 PDT 2020


mehdi_amini added a comment.

> If we can force users to write LE in the attribute, there is no problem. However, users may write the hex of BE in the attributes in BE machines.

I don't understand what you're referring to right now: can you elaborate how a user would write the hex in BE?
I expect a users to form the data in memory in BE on a BE machine, and then the printer will print in LE form always.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80695



More information about the llvm-commits mailing list