[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion

Ivan Llopard ivanllopard at gmail.com
Tue Jun 12 07:48:33 PDT 2012


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 
instructions in the packet). See VLIWPacketizerList as an example on how 
to use the API's.

Ivan

>
> 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 what I may have
> missed to cause this error?
>
> Cheers,
> sam
>
> --
> View this message in context: http://llvm.1065342.n5.nabble.com/DFAPacketizer-with-StateTrans-0-Assertion-tp46105.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list