[LLVMbugs] [Bug 5979] msp430 backend: incorrect conditional jump

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 15 11:18:46 PST 2010


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


Anton Korobeynikov <asl at math.spbu.ru> changed:

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




--- Comment #3 from Anton Korobeynikov <asl at math.spbu.ru>  2010-01-15 13:18:45 ---
(In reply to comment #2)
> Anton appears to have fixed this in r93496.  The problem was that MSP430 cmp
> had its arguments reversed.
> (I'm not sure why it's eating another register now.)
It's eating the register since imm can be only source operand. We need to
transform such cmp into

cmp #100, 0(r12)
jge <>

I did this yesterday, but haven't committed the patch yet :)


-- 
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.



More information about the llvm-bugs mailing list