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

Benjamin Kramer <[email protected]> changed:

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

--- Comment #4 from Benjamin Kramer <[email protected]> 2012-08-11 14:06:39 
CDT ---
Ah, thanks for the pointer. Fixed in r161728.

Asm output is now:
_foo:                                   ## @foo
    .cfi_startproc
## BB#0:
    pushq    %rbx
Ltmp2:
    .cfi_def_cfa_offset 16
Ltmp3:
    .cfi_offset %rbx, -16
    movq    _glob@GOTPCREL(%rip), %rbx
    movl    $42, (%rbx)
    callq    _x
    testb    $1, %al
    je    LBB0_2
## BB#1:                                ## %a
    movl    (%rbx), %eax
    popq    %rbx
    ret
LBB0_2:                                 ## %b
    xorl    %eax, %eax
    popq    %rbx
    ret

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