Skip to content

Cannot select v4i32 = BUILD_VECTOR error from short program #11690

@llvmbot

Description

@llvmbot
Bugzilla Link 11318
Resolution FIXED
Resolved on Nov 07, 2011 16:51
Version trunk
OS All
Attachments test case
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic,@sunfishcode

Extended Description

With the attached short program, I'm seeing:

% llc bugpoint-reduced-simplified.ll -mattr=+avx
LLVM ERROR: Cannot select: 0x7f906a839110: v4i32 = BUILD_VECTOR 0x7f906a832710, 0x7f906a832710, 0x7f906a832710, 0x7f906a832710 [ID=10]
0x7f906a832710: i32 = Constant<15> [ORD=2] [ID=1]
0x7f906a832710: i32 = Constant<15> [ORD=2] [ID=1]
0x7f906a832710: i32 = Constant<15> [ORD=2] [ID=1]
0x7f906a832710: i32 = Constant<15> [ORD=2] [ID=1]
%

Some bisecting reveals that this is a regression introduced in this commit:

Author: Dan Gohman gohman@apple.com
Date: Thu Nov 3 21:49:52 2011 +0000

Reapply r143206, with fixes. Disallow physical register lifetimes
across calls, and only check for nested dependences on the special
call-sequence-resource register.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143660 91177308-0d34-0410-b5e6-96231b3b80d8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions