<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I define a pattern to move two 32bits gpr to 64bits fpr. like arm instructure fmdrr.<BR>But I need to use an even/odd register pair to save  its 2 operands.<BR>I define in mytarget.td:<BR><BR>myfmdrr:<BR> SDTypeProfile<1, 2, [SDTCisVT<0, f64>, SDTCisVT<1, i32>,<BR>     SDTCisSameAs<1, 2>]>;<BR>def my_fmdrr : ...........<BR>def myFMDRR : ....<BR>                      (outs FPR: $result), ins(GPR: $op1, GPR:$op2 )<BR>                       [(setFPR: $result, (my_fmdrr GPR: $op1, GPR:$op2) )]<BR><BR>I create myfmdrr instructure in mytargetISelLowering.cpp. and its operands are in R0 and R1.<BR>But after optimization, the operands are save R2 and R1. I know optimization pass does not <BR>know myfmdrr operands constraint. But How I tell optimzition pass by tblgen??<BR><BR>Could I can control
 operand constraint in mytargetiSelLowering.cpp? How do I control?? <BR><BR></td></tr></table><br>


      <hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/">  好玩贺卡等你发,邮箱贺卡全新上线!</a>