Closed llvmbot closed 14 years ago
Thanks. Found this particular bug (missing default code in SelectDFormAddr for CopyFromReg operands), but then ran into another one which required SPUInstrInfo::InsertBranch() to be implemented.
Good news: This code produces assembly code (would be interested in seeing a test harness like vecoperations.c that verifies that this is actually working code).
Bad news: SPUInstrInfo::InsertBranch() will abort if it needs to insert a conditional branch. But, I'm sure, that'll be the subject of another bug report. At least I'll be able to see some example code in which I can figure out what the actual conditional looks like (SPU has 4 different conditional branch instructions.)
Created an attachment (id=2281) [details] The bitcode file which triggers the assertion.
Could you possibly post the .ll file instead?
Extended Description
The attached bitcode file triggers the following assertion when trying to compile it with llc:
llc: ScheduleDAGSDNodesEmit.cpp:483: void llvm::ScheduleDAGSDNodes::EmitNode(llvm::SDNode*, bool, llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo