[LLVMbugs] [Bug 14865] New: AVX Inefficient sext conversion <8 x i8> to <8 x i64>

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 8 21:52:30 PST 2013


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

             Bug #: 14865
           Summary: AVX Inefficient sext conversion <8 x i8> to <8 x i64>
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nrotem at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When compiling this LL code for corei7-avx we get a really long sequence of
instructions.

  %T0_17 = type <8 x i8>
  %T1_17 = type <8 x i64>                                                  
  define void @func17() {
    %v0 = load %T0_17* undef
    %r = sext %T0_17 %v0 to %T1_17                                         
    store %T1_17 %r, %T1_17* undef                                         
    ret void                                                               
  }

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