[llvm-commits] x86-64 miscompile

Chris Lattner clattner at apple.com
Wed Dec 16 01:35:02 PST 2009


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



More information about the llvm-commits mailing list