[LLVMdev] test-suite wrongly using big-endian results

Renato Golin renato.golin at linaro.org
Wed Feb 26 10:06:33 PST 2014


On 26 February 2014 18:00, Robert Lytton <robert at xmos.com> wrote:
> The question is are __LITTLE_ENDIAN__ & __BIG_ENDIAN__ defines becoming 'standard'?

They're redundant with __ORDER_*_ENDIAN__, so I personally wouldn't
even emit them. Even though code might have start depending on them
and it could be hard to deprecate it, I'd still go through. It's not
like people would have to re-implement anything, this is a simple
regex's job.


> Do we want all targets to have one or the other?

I'd say every target needs one of the __ORDER_*_ENDIAN__ options, yes,
and also __BYTE_ORDER__ set.

cheers,
--renato



More information about the llvm-dev mailing list