<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm running into issues when trying to implement an intrinsic function which takes a vec 3 parameter and does not return anything(e.g. v3i32):<br><br></div><div>void @intrinsic_3d(<3 x i32>)<br></div><div><br> I've tried the following:<br><br></div><div>1) Adding setOperationAction() to custom handle it<br></div><div>- There's no built-in MVT enum for this type<br></div><div>- Not sure if I want to do this for all other intrinsic functions, since I can only specify for ISD::INTRINSIC_VOID here?<br></div><div><br></div><div>2) In my target's <a href="http://intrinsic.td">intrinsic.td</a> file, I declare the intrinsic as taking a "llvm_anyvector_ty" parameter, but it still complains about "lookupName Error ..." for some reason. Tried a few other candidates, none of those seemed to work.<br><br></div><div>3) Or just do the patching at the IR level?<br></div><div><br></div>I think this must have been discussed before, as I found an old thread on this  - <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047996.html">http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/047996.html</a>.  But I'm not sure what the resolution for this. Any other suggestions? <br><br></div>Thanks!<br></div>- Chad<br></div>