[LLVMdev] New to LLVM, Help needed
evan.cheng at apple.com
Mon Sep 10 12:28:48 CDT 2007
Please do a debug build and run it under gdb. Let us know where it is
asserting and what it is asserting on so we can help you.
On Sep 7, 2007, at 4:50 PM, Alireza.Moshtaghi at microchip.com wrote:
> I have started to write an llvm backend for one of our
> microcontrollers (PICxx). I started studying the framework of
> PowerPc backend of llvm and decided to start by following that
> framework. Now I have most of the classes and Tblgen files written
> for a very basic hypothetical microcontroller with very few
> The project builds and the llc recognizes the new processor,
> however, when it reaches the point where it wants to lower llvm IR
> to PICxx DAG, it asserts in LegalizeDAG.cpp in ExpandOp() function
> after it hits the default case of switch(Node->getOpcode())
> Can someone please help me understand how am I ending up in the
> default case?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev