[LLVMdev] Adding instruction to mips backend

Jim Grosbach grosbach at apple.com
Tue Feb 2 13:59:13 PST 2010

What sorts of errors are you seeing? My first guess would be that you need to add support for the new instruction to the SelectionDAG machinery (see lib/CodeGen/SelectionDAG/*).

What instruction are you looking to add?

On Feb 1, 2010, at 3:11 AM, Daniel Hallmannseder wrote:

> Hi,
> I've extended the LLVM IR with a new Instruction. This part works well. 
> But I also want to extend the MIPS backend with an associative machine 
> instruction, and in this part, I didn't succeed. I read the tutorials, 
> but I couldn't realize the code generation for the new LLVM IR 
> instruction. Which parts have to be modified ?
> Bye,
> Daniel
> _______________________________________________
> 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