Skip to content

Unable to select BUILD_VECTOR operation #9537

@llvmbot

Description

@llvmbot
Bugzilla Link 9165
Resolution FIXED
Resolved on Feb 12, 2011 08:44
Version trunk
OS All
Attachments LL file reproducing the problem
Reporter LLVM Bugzilla Contributor
CC @nadavrot

Extended Description

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<LD16null+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<LD16null> [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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions