http://llvm.org/bugs/show_bug.cgi?id=4124


Lang Hames <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Lang Hames <[email protected]>  2009-05-13 23:28:24 ---
This was being caused by TwoAddressInstructionPass::FindLastUseInMBB returning
an instruction that is not, in fact, the nearest previous use. This in turn
lead to incorrect live interval information and finally the crash during
coalescing. The fault occured because FindLastUseInMBB assumed reg_iterator
would iterate over defs/uses in the order they appear in the basic block. I'm
not sure if this assumption _should_ hold, but it certainly didn't in this
case.

Fix committed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090511/077556.html


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to