[LLVMbugs] [Bug 2842] New: instcombine should generate bswap

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Sep 29 13:24:12 PDT 2008


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

           Summary: instcombine should generate bswap
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2045)
 --> (http://llvm.org/bugs/attachment.cgi?id=2045)
two hton, equal in stature

in the following code, instcombine should generate bswap.  (amusingly enough,
the inline asm to intrinsic promoter recognizes the inline asm and promotes it
to a bswap in the first case).

C source attached, little endian .ll file also attached.


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