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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to