[LLVMbugs] [Bug 3105] TwoAddressInstructionPass fails to correctly handle instruction with multiple results and constraints

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 29 21:17:50 PDT 2011


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

Jakob Stoklund Olesen <stoklund at 2pi.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |stoklund at 2pi.dk
         Resolution|                            |FIXED

--- Comment #1 from Jakob Stoklund Olesen <stoklund at 2pi.dk> 2011-06-29 23:17:49 CDT ---
I think this was fixed a while back. Inline assembly can do the same an any
target.

llc < t.ll  -march=xcore -mcpu=xs1b-generic
    .file    "<stdin>"
    .text
    .globl    test
    .align    2
    .type    test, at function
    .cc_top test.function,test      # @test
test:
# BB#0:                                 # %entry
    mov r2, r1
    ldc r1, 0
    mov r3, r1
    maccs r1, r3, r0, r2
    mov r0, r3
    retsp 0
    .cc_bottom test.function
.Ltmp0:
    .size    test, .Ltmp0-test

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