Closed llvmbot closed 13 years ago
See attached test case, which gives me the following crash with llc -mattr=+avx with TOT>
Unknown type for unpckh UNREACHABLE executed at X86ISelLowering.cpp:5938! 0 llc 0x00000001045d6872 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6494 1 llc 0x00000001045d6e79 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8037 2 libsystem_c.dylib 0x00007fff8e320cfa _sigtramp + 26 3 libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338130518816 4 llc 0x00000001045d67d6 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6338 5 llc 0x00000001045c7f39 std::_Rb_tree<std::string, std::pair<std::string const, void>, std::_Select1st<std::pair<std::string const, void> >, std::less, 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 0x0000000104041f24 llvm::X86Subtarget::isTargetELF() const + 296012 7 llc 0x000000010400d867 llvm::X86Subtarget::isTargetELF() const + 81295 8 llc 0x00000001040db52a llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo, llvm::DenseMapInfo >::insert(std::pair<llvm::SDValue, unsigned int> const&) + 26290 9 llc 0x00000001040d5061 llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo, llvm::DenseMapInfo >::insert(std::pair<llvm::SDValue, unsigned int> const&) + 489 10 llc 0x00000001041e3061 llvm::SelectionDAGBuilder::Case::size() const + 34781 11 llc 0x00000001041e4ce2 llvm::SelectionDAGBuilder::Case::size() const + 42078 12 llc 0x00000001041e593b llvm::SelectionDAGBuilder::Case::size() const + 45239 13 llc 0x00000001042c2e54 llvm::MachineFunctionAnalysis::getPassName() const + 458 14 llc 0x000000010453ea8d llvm::cl::parser<llvm::PassInfo const>::~parser() + 26339 15 llc 0x000000010453a47b llvm::cl::parser<llvm::PassInfo const>::~parser() + 8401 16 llc 0x000000010453e78a llvm::cl::parser<llvm::PassInfo const>::~parser() + 25568 17 llc 0x000000010453fbb1 llvm::cl::parser<llvm::PassInfo const>::~parser() + 30727 18 llc 0x000000010453fc31 llvm::cl::parser<llvm::PassInfo const>::~parser() + 30855 19 llc 0x0000000103cbe3d3 20 llc 0x0000000103cbcc34 Stack dump:
Fixed in r137161!
Extended Description
See attached test case, which gives me the following crash with llc -mattr=+avx with TOT>
Unknown type for unpckh UNREACHABLE executed at X86ISelLowering.cpp:5938! 0 llc 0x00000001045d6872 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6494 1 llc 0x00000001045d6e79 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8037 2 libsystem_c.dylib 0x00007fff8e320cfa _sigtramp + 26 3 libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338130518816 4 llc 0x00000001045d67d6 llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6338 5 llc 0x00000001045c7f39 std::_Rb_tree<std::string, std::pair<std::string const, void>, std::_Select1st<std::pair<std::string const, void> >, std::less, 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 0x0000000104041f24 llvm::X86Subtarget::isTargetELF() const + 296012
7 llc 0x000000010400d867 llvm::X86Subtarget::isTargetELF() const + 81295
8 llc 0x00000001040db52a llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo, llvm::DenseMapInfo >::insert(std::pair<llvm::SDValue, unsigned int> const&) + 26290
9 llc 0x00000001040d5061 llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo, llvm::DenseMapInfo >::insert(std::pair<llvm::SDValue, unsigned int> const&) + 489
10 llc 0x00000001041e3061 llvm::SelectionDAGBuilder::Case::size() const + 34781
11 llc 0x00000001041e4ce2 llvm::SelectionDAGBuilder::Case::size() const + 42078
12 llc 0x00000001041e593b llvm::SelectionDAGBuilder::Case::size() const + 45239
13 llc 0x00000001042c2e54 llvm::MachineFunctionAnalysis::getPassName() const + 458
14 llc 0x000000010453ea8d llvm::cl::parser<llvm::PassInfo const >::~parser() + 26339
15 llc 0x000000010453a47b llvm::cl::parser<llvm::PassInfo const>::~parser() + 8401
16 llc 0x000000010453e78a llvm::cl::parser<llvm::PassInfo const>::~parser() + 25568
17 llc 0x000000010453fbb1 llvm::cl::parser<llvm::PassInfo const>::~parser() + 30727
18 llc 0x000000010453fc31 llvm::cl::parser<llvm::PassInfo const>::~parser() + 30855
19 llc 0x0000000103cbe3d3
20 llc 0x0000000103cbcc34
Stack dump: