[LLVMbugs] [Bug 10490] New: [AVX] Unknown type for unpckh / UNREACHABLE executed at X86ISelLowering.cpp:5756!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 02:10:52 PDT 2011


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

           Summary: [AVX] Unknown type for unpckh / UNREACHABLE executed
                    at X86ISelLowering.cpp:5756!
           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


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

With top of tree and the attached test case, if I run:

% llc bug.ll -o /dev/null -mcpu=corei7-avx -mattr=+avx

I get the following crash:


Unknown type for unpckh
UNREACHABLE executed at X86ISelLowering.cpp:5756!
0  llc               0x000000010f5b2882
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6542
1  llc               0x000000010f5b2e89
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8085
2  libsystem_c.dylib 0x00007fff8a2a9cfa _sigtramp + 26
3  libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338198115104
4  llc               0x000000010f5b27e6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6386
5  llc               0x000000010f5a33c9 std::_Rb_tree<std::string,
std::pair<std::string const, void*>, std::_Select1st<std::pair<std::string
const, void*> >, std::less<std::string>, std::allocator<std::pair<std::string
const, void*> >
>::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, void*>
>, std::pair<std::string const, void*> const&) + 1707
6  llc               0x000000010f01fce9 llvm::X86Subtarget::isTargetELF() const
+ 291841
7  llc               0x000000010efec917 llvm::X86Subtarget::isTargetELF() const
+ 81967
8  llc               0x000000010f0b7e7a llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 26290
9  llc               0x000000010f0b19b1 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 489
10 llc               0x000000010f1bf881 llvm::SelectionDAGBuilder::Case::size()
const + 34781
11 llc               0x000000010f1c1512 llvm::SelectionDAGBuilder::Case::size()
const + 42094
12 llc               0x000000010f1c216b llvm::SelectionDAGBuilder::Case::size()
const + 45255
13 llc               0x000000010f29f6d4
llvm::MachineFunctionAnalysis::getPassName() const + 458
14 llc               0x000000010f51941d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26339
15 llc               0x000000010f514e0b llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 8401
16 llc               0x000000010f51911a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25568
17 llc               0x000000010f51a541 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30727
18 llc               0x000000010f51a5c1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30855
19 llc               0x000000010eca33d3
20 llc               0x000000010eca1c34
Stack dump:
0.    Program arguments: llc bug.ll -o /dev/null -mcpu=corei7-avx -mattr=+avx 
1.    Running pass 'Function Pass Manager' on module 'bug.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"f_f___REFUf[]REFUf[]"'
[1]    12060 illegal hardware instruction  llc bug.ll -o /dev/null
-mcpu=corei7-avx -mattr=+avx

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