[LLVMbugs] [Bug 6439] New: Backend crash involving vectors in structures

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 26 22:02:28 PST 2010


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

           Summary: Backend crash involving vectors in structures
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: arplynn at gmail.com
                CC: llvmbugs at cs.uiuc.edu


The following fragment:

%struct = type { <4 x float> }

define %struct @fragment() nounwind readnone {
entry:
    %res0 = insertvalue %struct {<4 x float> undef}, <4 x float> undef, 0
    ret %struct %res0
}

will crash the PowerPC backend.


UNREACHABLE executed!
0  llc               0x00000001009cfa02 char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
674
1  llc               0x00000001009cfee4 char const* std::__find<char const*,
char>(char const*, char const*, char const&, std::random_access_iterator_tag) +
1924
2  libSystem.B.dylib 0x00007fff85ddbeaa _sigtramp + 26
3  libSystem.B.dylib 0xffffffff00e106d2 _sigtramp + 2063812674
4  llc               0x00000001009b341d llvm::cl::opt<bool, false,
llvm::cl::parser<bool> >::~opt() + 38077
5  llc               0x0000000100520c4c
llvm::X8664_ELFTargetObjectFile::~X8664_ELFTargetObjectFile() + 1756
6  llc               0x0000000100358684
llvm::PPCHazardRecognizer970::~PPCHazardRecognizer970() + 187796
7  llc               0x000000010066c941 llvm::APInt::getHighBitsSet(unsigned
int, unsigned int) + 291793
8  llc               0x000000010063a26c llvm::APInt::getHighBitsSet(unsigned
int, unsigned int) + 85244
9  llc               0x0000000100676f2e
llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const +
14846
10 llc               0x0000000100678793
llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const +
21091
11 llc               0x0000000100679418
llvm::TargetLowering::getNumRegisters(llvm::LLVMContext&, llvm::EVT) const +
24296
12 llc               0x0000000100333c79
llvm::PPCHazardRecognizer970::~PPCHazardRecognizer970() + 37769
13 llc               0x000000010071204e
llvm::MachineFunctionAnalysis::doInitialization(llvm::Module&) + 62
14 llc               0x000000010096456d
llvm::PassNameParser::passRegistered(llvm::PassInfo const*) + 22765
15 llc               0x0000000100964744
llvm::PassNameParser::passRegistered(llvm::PassInfo const*) + 23236
16 llc               0x0000000100964906
llvm::PassNameParser::passRegistered(llvm::PassInfo const*) + 23686
17 llc               0x0000000100037ed8 void
llvm::cl::apply<llvm::cl::LocationClass<std::string>,
llvm::cl::opt<std::string, true, llvm::cl::parser<std::string> >
>(llvm::cl::LocationClass<std::string> const&, llvm::cl::opt<std::string, true,
llvm::cl::parser<std::string> >*) + 8936
18 llc               0x0000000100036d38 void
llvm::cl::apply<llvm::cl::LocationClass<std::string>,
llvm::cl::opt<std::string, true, llvm::cl::parser<std::string> >
>(llvm::cl::LocationClass<std::string> const&, llvm::cl::opt<std::string, true,
llvm::cl::parser<std::string> >*) + 4424
Stack dump:
0.    Program arguments: llc -march=ppc32 
1.    Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@fragment'
Abort trap

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