[LLVMdev] More Back-End Porting Troubles

Cameron McInally cameron.mcinally at nyu.edu
Wed Aug 15 10:22:44 PDT 2012


On Wed, Aug 15, 2012 at 12:11 PM, Fabian Scheler <fabian.scheler at gmail.com>
wrote:

> Hi LLVM-Folks,
>
 ...

> Currently, I am not even able to find out which instruction is messed
> up here  (dumping the node via the dump-Method yields "<<Unknown
> Machine Node #65434>>"). Can I use "machine nodes" and "normal nodes"
> when lowering a specific instruction within the TargetLowering?


Usually, when I see this type of error in the X86 target, I use the
following function to narrow down the search:

>    /// getTargetNodeName - This method returns the name of a target
specific
>    /// DAG node.
>    virtual const char *getTargetNodeName(unsigned Opcode) const;

If I'm not mistaken, the normal dump method returns names for ISD Opcodes
and not for target specific opcodes, in my case X86ISD Opcodes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120815/a4908190/attachment.html>


More information about the llvm-dev mailing list