[LLVMbugs] [Bug 10845] New: [AVX] x86 isel hits assert: (false && "Couldn't find the register class"), function getSuperRegisterRegClass

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 2 14:39:37 PDT 2011


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

           Summary: [AVX] x86 isel hits assert: (false && "Couldn't find
                    the register class"), function
                    getSuperRegisterRegClass
           Product: new-bugs
           Version: unspecified
          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


Created an attachment (id=7208)
 --> (http://llvm.org/bugs/attachment.cgi?id=7208)
test case

With the attached, I'm seeing the following crash.  (Sorry the test case isn't
smaller; here also bugpoint reduces it to a different crash.  Also, without
-O0, the crash doesn't happen.)

% llc -O0 -mattr=+avx bug.ll -o /dev/null 
Assertion failed: (false && "Couldn't find the register class"), function
getSuperRegisterRegClass, file InstrEmitter.cpp, line 403.
0  llc               0x0000000107dc6082
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6504
1  llc               0x0000000107dc6689
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8047
2  libsystem_c.dylib 0x00007fff885e8cfa _sigtramp + 26
3  libsystem_c.dylib 0x00000001082e2b40 _sigtramp + 18446603342660476512
4  llc               0x0000000107dc5fe6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6348
5  llc               0x0000000107dc6038
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6430
6  llc               0x00000001078b9ebb
llvm::MachineModuleInfo::setVariableDbgInfo(llvm::MDNode*, unsigned int,
llvm::DebugLoc) + 10689
7  llc               0x00000001078bb57b
llvm::MachineModuleInfo::setVariableDbgInfo(llvm::MDNode*, unsigned int,
llvm::DebugLoc) + 16513
8  llc               0x0000000107953a0a llvm::DenseMap<llvm::SUnit*,
llvm::SmallVector<unsigned int, 4u>, llvm::DenseMapInfo<llvm::SUnit*>,
llvm::DenseMapInfo<llvm::SmallVector<unsigned int, 4u> >
>::FindAndConstruct(llvm::SUnit* const&) + 2468
9  llc               0x00000001079cd8b3 llvm::SelectionDAGBuilder::Case::size()
const + 36623
10 llc               0x00000001079cee52 llvm::SelectionDAGBuilder::Case::size()
const + 42158
11 llc               0x00000001079cfabb llvm::SelectionDAGBuilder::Case::size()
const + 45335
12 llc               0x0000000107aa5284
llvm::MachineFunctionAnalysis::getPassName() const + 458
13 llc               0x0000000107d2d13d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26675
14 llc               0x0000000107d286db llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 7633
15 llc               0x0000000107d2ce3a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25904
16 llc               0x0000000107d2e251 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31047
17 llc               0x0000000107d2e2d1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 31175
18 llc               0x000000010774a273
19 llc               0x0000000107748b34
20 llc               0x0000000000000006
Stack dump:
0.    Program arguments: llc -O0 -mattr=+avx bug.ll -o /dev/null 
1.    Running pass 'Function Pass Manager' on module 'bug.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"f_fu___REFUf[]REFUf[]Uf"'
[1]    49022 illegal hardware instruction  llc -O0 -mattr=+avx bug.ll -o
/dev/null

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