[LLVMbugs] [Bug 9165] New: Unable to select BUILD_VECTOR operation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 8 01:08:50 PST 2011


           Summary: Unable to select BUILD_VECTOR operation
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6123)
 --> (http://llvm.org/bugs/attachment.cgi?id=6123)
LL file reproducing the problem

When codegen the attached LL file using LLC, we hit the following problem. 

This is a regression from 2.7. I have a fix ready for this in the DAGCombiner,
pending managerial approval. Will send a patch to the LLVM-commit soon. 

LLVM ERROR: Cannot select: 0x1dfa9e0: v4i32 = BUILD_VECTOR 0x1dfa3e0,
0x1e044a0, 0x1df9fe0, 0x1e045a0 [ID=30]
  0x1dfa3e0: i32 = Constant<0> [ORD=1] [ID=1]
  0x1e044a0: i32 = extract_vector_elt 0x1e03690, 0x1e03b90 [ID=26]
    0x1e03690: v4i32 = bit_convert 0x1e04da0 [ID=21]
      0x1e04da0: v2i64,ch = load 0x1dcb0b8, 0x1e03490,
0x1df9fe0<LD16[null+32](align=32)> [ID=17]
        0x1dcb0b8: ch = EntryToken [ORD=1] [ID=0]
        0x1e03490: i32 = Constant<32> [ID=4]
        0x1df9fe0: i32 = undef [ORD=1] [ID=2]
    0x1e03b90: i32 = Constant<1> [ID=5]
  0x1df9fe0: i32 = undef [ORD=1] [ID=2]
  0x1e045a0: i32 = extract_vector_elt 0x1e05600, 0x1e03b90 [ID=24]
    0x1e05600: v4i32 = bit_convert 0x1dfa2e0 [ID=19]
      0x1dfa2e0: v2i64,ch = load 0x1dcb0b8, 0x1dfa3e0,
0x1df9fe0<LD16[null](align=64)> [ID=14]
        0x1dcb0b8: ch = EntryToken [ORD=1] [ID=0]
        0x1dfa3e0: i32 = Constant<0> [ORD=1] [ID=1]
        0x1df9fe0: i32 = undef [ORD=1] [ID=2]
    0x1e03b90: i32 = Constant<1> [ID=5]

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