[LLVMdev] Bug in optimization pass related to strcmp and big endian back-ends

Eli Friedman eli.friedman at gmail.com
Tue Aug 11 01:27:17 PDT 2009


On Tue, Aug 11, 2009 at 1:13 AM, Stripf,
Timo<Timo.Stripf at itiv.uni-karlsruhe.de> wrote:
> On little endian machines the code works correct but on big endian %lhsv
> must be compared against 73 << 8.

If llvm-gcc thinks it's compiling for a little-endian target, the
optimizers will assume the target is little-endian... what are you
trying to do?

-Eli



More information about the llvm-dev mailing list