[LLVMbugs] [Bug 2005] Inefficient codegen on x86 with _Bool

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 23 07:03:07 PDT 2012


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

Nadav Rotem <nadav.rotem at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |nadav.rotem at intel.com
         Resolution|                            |FIXED

--- Comment #6 from Nadav Rotem <nadav.rotem at intel.com> 2012-07-23 09:03:07 CDT ---
We get this code on ToT for the first LL (the one with the select instruction).
 It looks like the codegen zext issue is gone. Closing the issue.

# BB#0:
        movb    4(%esp), %al
        testb   %al, %al
        jne     .LBB0_1
# BB#2:
        movb    12(%esp), %al
        movzbl  %al, %eax
        ret
.LBB0_1:
        movb    8(%esp), %al
        movzbl  %al, %eax
        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.



More information about the llvm-bugs mailing list