<div dir="ltr"><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">Hello LLVMDevs,</span></font><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">I am looking for an example for how to lower LLVM IR to mulsu kind of instruction.  I found that AVR back end have such instruction but AVRInstrInfo.td does not define any DAG pattern for which this instruction gets emitted.</span></font></div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC554" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">def MULSURdRr : FMUL2RdRr<1,</td></tr><tr style="box-sizing:border-box"><td id="gmail-L555" class="gmail-blob-num gmail-js-line-number" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;width:50.4px;min-width:50px;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC555" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">                            (outs),</td></tr><tr style="box-sizing:border-box"><td id="gmail-L556" class="gmail-blob-num gmail-js-line-number" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;width:50.4px;min-width:50px;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC556" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">                            (ins GPR8:$lhs, GPR8:$rhs),</td></tr><tr style="box-sizing:border-box"><td id="gmail-L557" class="gmail-blob-num gmail-js-line-number" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;width:50.4px;min-width:50px;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC557" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">                            "mulsu\t$lhs, $rhs",</td></tr><tr style="box-sizing:border-box"><td id="gmail-L558" class="gmail-blob-num gmail-js-line-number" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;width:50.4px;min-width:50px;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC558" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">                            []>,</td></tr><tr style="box-sizing:border-box"><td id="gmail-L559" class="gmail-blob-num gmail-js-line-number" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;width:50.4px;min-width:50px;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top"></td><td id="gmail-LC559" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre">                  Requires<[SupportsMultiplication]>;</td></tr></tbody></table></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px"> Also simple grep around related words does not show any other information. </span></font></div><div></div><div><span style="font-size:14px;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,"segoe ui",helvetica,arial,sans-serif,"apple color emoji","segoe ui emoji","segoe ui symbol""><br></span></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">Can some one explain me how this kind of instruction should be lowered ? </span></font></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px"><br></span></font></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">Sincerely,</span></font></div><div><font color="#333333" face="-apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol"><span style="font-size:14px">Vivek</span></font></div></div>