<div dir="ltr">This means your backend does not natively support this SDNode. You have to use the DAG Legalizer to either promote, expand, or customize it. <div><br></div><div>See <a href="http://llvm.org/docs/CodeGenerator.html#selectiondag-legalizetypes-phase">http://llvm.org/docs/CodeGenerator.html#selectiondag-legalizetypes-phase</a></div><div><br></div><div>Hope this helps,</div><div>Ziqiang</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-02 9:55 GMT-05:00 Zhang Yinan <span dir="ltr"><<a href="mailto:ictzyn@gmail.com" target="_blank">ictzyn@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span style="font-family:ComicSansMS-Bold">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:</span><div style="font-family:ComicSansMS-Bold">”LLVM ERROR: can’t select i32=FrameIndex<0> [ID] = 3 “</div><div style="font-family:ComicSansMS-Bold"><br></div><div style="font-family:ComicSansMS-Bold">— zyn</div>
</div>
<br></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>