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

Anton Korobeynikov <[email protected]> changed:

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

--- Comment #1 from Anton Korobeynikov <[email protected]> 2010-02-21 06:33:47 
CST ---
I have the following assembler code:

        mov.w   #0, 2(r1)
        mov.w   #0, 0(r1)
.LBB1_1:                                ; %for.cond
                                        ; =>This Inner Loop Header: Depth=1
        cmp.w   #2, 0(r1)
        jge     .LBB1_3
; BB#2:                                 ; %for.body
                                        ;   in Loop: Header=BB1_1 Depth=1
        mov.w   0(r1), r12
        rla.w   r12
        mov.w   #-695, &g_4(r12)
        add.w   #1, 0(r1)
        jmp     .LBB1_1

so, it's pretty obvious, there is a store. Confirmed on mspsim as well.

Next time please attach LLVM IR and/or resulting assembler as well.

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

Reply via email to