search for: statetrans

Displaying 11 results from an estimated 11 matches for "statetrans".

2012 Jun 12
2
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi, I'm trying to get the DFAPacketizer to work for my target but with any instruction I get the 'Assertion `CachedTable.count(StateTrans) != 0' failed' error and it crashes out before packeting a single instruction. I have a *GenDFAPacketizer.inc file and my packetizer pass checks that the table is not empty before proceeding. I also have a schedule file with my functional units and itineraries listed. Can anyone think of...
2012 Jun 12
3
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
...anks sam On 12/06/12 15:48, Ivan Llopard [via LLVM] wrote: > Hi Sam, > > On 12/06/2012 15:33, sam wrote: > > Hi, > > > > I'm trying to get the DFAPacketizer to work for my target but with any > > instruction I get the > > 'Assertion `CachedTable.count(StateTrans) != 0' failed' error and it > crashes > > out before packeting a single instruction. > > Do you reserve some resource without verification? > > Note that reserveResources() should be called iff canReserveResources() > is true (the call order is important here) even...
2012 Jun 12
0
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
...n Llopard [via LLVM] wrote: >> Hi Sam, >> >> On 12/06/2012 15:33, sam wrote: >> > Hi, >> > >> > I'm trying to get the DFAPacketizer to work for my target but with any >> > instruction I get the >> > 'Assertion `CachedTable.count(StateTrans) != 0' failed' error and >> it crashes >> > out before packeting a single instruction. >> >> Do you reserve some resource without verification? >> >> Note that reserveResources() should be called iff canReserveResources() >> is true (the call or...
2012 Jun 12
0
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi Sam, On 12/06/2012 15:33, sam wrote: > Hi, > > I'm trying to get the DFAPacketizer to work for my target but with any > instruction I get the > 'Assertion `CachedTable.count(StateTrans) != 0' failed' error and it crashes > out before packeting a single instruction. Do you reserve some resource without verification? Note that reserveResources() should be called iff canReserveResources() is true (the call order is important here) even for the trivial case (0 instruct...
2015 Nov 16
2
DFAPacketizer assert failure
For some reason on my VLIW target DFAPacketizer fails at assert(CachedTable.count(StateTrans) != 0); in the following function: // reserveResources - Reserve the resources occupied by a MCInstrDesc and // change the current state to reflect that change. void DFAPacketizer::reserveResources(const llvm::MCInstrDesc *MID) { unsigned InsnClass = MID->getSchedClass(); const llvm::Instr...
2015 Nov 16
3
DFAPacketizer assert failure
> > It's hard to make a guess based on that assertion alone. Apparently there > is no transition in the DFA for these values. > > Do the arguments (e.g. CurrentState and FuncUnits) look reasonable? FuncUnits = 0 CurrentState = 0 StateTrans = {first = 0, second = 0} I understand that there is something wrong with the state machine but I can't figure out what exactly. My scheduler description is the same as for Hexagon or R600. So why would DFA would look any different for my target? What could be the problem? -- R -------------...
2013 Feb 11
2
[LLVMdev] DFAPacketizer
...Resources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); DFAPacketizer.cpp:84: void llvm::DFAPacketizer::reserveResources(const llvm::MCInstrDesc*): Assertion `CachedTable.count(StateTrans) != 0' failed. It seems to not want to worry about the alu's, but it is fine as long as there are any FU of the first row (BITS) available. What is missing? Thanks, Jonas Paulsson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org...
2013 Feb 12
2
[LLVMdev] DFAPacketizer
...Resources(); > > ResourceTracker->reserveResources(); > > ResourceTracker->reserveResources(); > > ResourceTracker->reserveResources(); > > DFAPacketizer.cpp:84: void llvm::DFAPacketizer::reserveResources(const > llvm::MCInstrDesc*): Assertion `CachedTable.count(StateTrans) != 0' > failed. > > It seems to not want to worry about the alu's, but it is fine as long > as there are any FU of the first row (BITS) available. > > What is missing? > > Thanks, > > Jonas Paulsson > -------------- next part -------------- An HTML attac...
2013 Feb 12
0
[LLVMdev] DFAPacketizer
...eserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); DFAPacketizer.cpp:84: void llvm::DFAPacketizer::reserveResources(const llvm::MCInstrDesc*): Assertion `CachedTable.count(StateTrans) != 0' failed. It seems to not want to worry about the alu's, but it is fine as long as there are any FU of the first row (BITS) available. What is missing? Thanks, Jonas Paulsson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/...
2013 Feb 18
0
[LLVMdev] DFAPacketizer
...eserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); DFAPacketizer.cpp:84: void llvm::DFAPacketizer::reserveResources(const llvm::MCInstrDesc*): Assertion `CachedTable.count(StateTrans) != 0' failed. It seems to not want to worry about the alu's, but it is fine as long as there are any FU of the first row (BITS) available. What is missing? Thanks, Jonas Paulsson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org...
2013 Feb 11
0
[LLVMdev] DFAPacketizer
...eserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); ResourceTracker->reserveResources(); DFAPacketizer.cpp:84: void llvm::DFAPacketizer::reserveResources(const llvm::MCInstrDesc*): Assertion `CachedTable.count(StateTrans) != 0' failed. It seems to not want to worry about the alu's, but it is fine as long as there are any FU of the first row (BITS) available. What is missing? Thanks, Jonas Paulsson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/...