[LLVMdev] Changing Endian in TargetData

Ryan Taylor ryta1203 at gmail.com
Fri Jul 6 22:07:18 PDT 2012


I'm trying to change the Endian of X86 from little to big in the
TargetData. I only care about the way in which this effects the LLVM IR,
not the actual backend code. I've changed the "e-" to "E-" in
X86TargetMachine.cpp (where it sets the DataLayout) with no luck. Are there
any other obvious places that I need to change this?

The TargetData docs were somewhat helpful but not entirely, if I have
missed some obviousness in the docs, I apologize.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120706/27edac0b/attachment.html>


More information about the llvm-dev mailing list