<div dir="ltr">Legalization already handles this when you're operating on integers that are wider than the widest legal integers for your target. You can see it in action by compiling a file that operates on two wide integers.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 11:43 PM, Vivek Datir via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear everyone,<br></div><br>I am current working on a project that requires me to divide an integer into two halves based on its bits and carry out multiplication and addition on the new data and combine these results to get the original result. Could someone please help with the "how to" part. <br><br></div>Thanking you,<br><br></div>Vivek Datir<br></div>IIT Guwahati , India<br></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>