<div dir="ltr"><div><br></div><div>I am trying to cast a Value* irrespective of its underlying subclass to uint64 and pass it on to a method as an argument.</div><div><br></div><div><div>if (StoreInst *store_inst = dyn_cast<StoreInst>(&I)) {</div><div> Value* vo = store_inst->getValueOperand();</div><div> uint64 value = /* cast vo to unsigned int 64 bit */</div><div> func(value);</div><div> }</div></div><div><br></div><div>How can I force cast 'vo' to unsigned int?</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</div>