[llvm-commits] [patch] Fix pr11415

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 21 20:27:31 PST 2011

It looks like the fast register allocator thinks that early clobbers
are defined a bit earlier than they really are.

The problem is that when a register is both a tied use and an early
clobber of a asm statement, we process the early clobber first and
then think that the register is already set, which causes the missing
copy to RBP in llvm.org/pr11415.

This is one case I am not sure how to test. I can include the testcase
that is attached to the PR, but it is fairly brittle.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr11415.patch
Type: application/octet-stream
Size: 1828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111121/93a33c17/attachment.obj>

More information about the llvm-commits mailing list