[llvm-commits] x86-64 miscompile

Evan Cheng evan.cheng at apple.com
Wed Dec 16 09:15:58 PST 2009


Yes, that's what I saw before Daniel backed out a couple of patches. However, as of r91438, the miscompare is insn-emit.o. The differences were much more significant.

Evan

On Dec 16, 2009, at 1:35 AM, Chris Lattner wrote:

> I suspect a scheduling nondeterminism.  The file that miscompares is i386.o and the only difference is:
> 
> 1c1
> < stage2-gcc/i386.o:
> ---
>> stage3-gcc/i386.o:
> 22171,22172c22171,22172
> < 0000000000014a87	movq	%rax,%rbx
> < 0000000000014a8a	movq	%rbx,0xc8(%rbp)
> ---
>> 0000000000014a87	movq	%rax,0xc8(%rbp)
>> 0000000000014a8b	movq	%rax,%rbx
> 
> It could also be a copy elimination or folding thing I guess.
> 
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list