[LLVMdev] A Problem about LLVM Backend Port

Tom Stellard tom at stellard.net
Mon Feb 2 08:27:09 PST 2015


On Mon, Feb 02, 2015 at 10:55:23PM +0800, Zhang Yinan wrote:
> I am porting llvm backend to our own target backend, which is based on MIPS arch. But I come across  a problem when I  run “llc -march=(our processor name) sum.ll” at the DAGtoDAG stage:
> ”LLVM ERROR: can’t select i32=FrameIndex<0> [ID] = 3 “
> 

Have you added any code to YourPortTargetLowering::LowerOperation() to
custom lower FrameIndex nodes?

> — zyn
> 

> _______________________________________________
> 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