<div>My target supports only 8-bit arithmetic, hence I specified it to exapand ADD for i32 and i16.</div>
<div> </div>
<div>llc fails at the following place in LegalizeDAG.cpp:</div>
<div> </div>
<div>assert(MVT::isVector(Node->getValueType(0)) &&<br>             "Cannot expand this binary operator!");<br>      // Expand the operation into a bunch of nasty scalar code.<br>      Result = LegalizeOp(UnrollVectorOp(Op));</div>

<div> </div>
<div>I don't understand why it is treating i32 and i16 as vector types.</div>
<div>I think it was working fine in llvm2.1</div>
<div> </div>
<div>Any help is welcome.</div>
<div> </div>
<div>Thanks,</div>
<div>Sanjiv</div>
<div> </div>