[LLVMbugs] [Bug 4216] missing bitfield optimization for a series of stores of constants

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 10 22:56:42 PST 2010


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


Chris Lattner <clattner at apple.com> changed:

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




--- Comment #20 from Chris Lattner <clattner at apple.com>  2010-01-11 00:56:41 ---
Finally fixed with r93147 as the last patch:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100111/093983.html

clang now generates this at -m64:

_test_bitfield:
        orl     $32962, %edi
        movl    $4294941946, %eax
        andq    %rdi, %rax
        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