[llvm-commits] [llvm] r79880 - /llvm/trunk/test/ExecutionEngine/2007-12-14-LittleEndian.ll

Chris Lattner clattner at apple.com
Mon Aug 24 10:21:48 PDT 2009

On Aug 24, 2009, at 12:53 AM, Duncan Sands wrote:

> Hi Chris,
>> Remove this test now that the interpreter doesn't support
>> interpreting the wrong endianness anymore.  This fixes a
>> failure on clang-powerpc-darwin8
> what's the reason for removing this feature?  I taught the interpreter
> how to do loads and stores etc of the wrong endianness in a moment of
> boredom.  That's probably where this test comes from.  While it is not
> the world's most useful feature, I thought it might be useful for
> debugging endianness problems when you don't have access to a machine
> with that endianness.

IMO it's a useless feature.  Endianness isn't the only problem, things  
like struct field alignment, pointer size, and many other things will  
conspire to make the code not work.


More information about the llvm-commits mailing list