[LLVMbugs] [Bug 11318] New: Cannot select v4i32 = BUILD_VECTOR error from short program

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 6 08:22:37 PST 2011


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

             Bug #: 11318
           Summary: Cannot select v4i32 = BUILD_VECTOR error from short
                    program
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7581
  --> http://llvm.org/bugs/attachment.cgi?id=7581
test case

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

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