On Sep 4, 2010, at 11:21 AM, Borja Ferrer wrote:
> I've noticed this pattern happening with other operators aswell, but
used xor in this example. As i said before, i tried with different register
allocation orders, but it will produce always the same result. GCC is emitting
longer code, but since LLVM is so nearer to the optimal code sequence i wanted
to reach it.
In LLVM, copies are coalesced away as much as possible before registers are
allocated, so the allocation order wouldn't affect it.
Try looking at the output of -debug-only=regcoalescing to see what is going
wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL:
<lists.llvm.org/pipermail/llvm-dev/attachments/20100904/f9ef1c08/attachment.bin>