[LLVMdev] 65bit integer math

Villmow, Micah Micah.Villmow at amd.com
Mon Oct 12 18:15:25 PDT 2009


I have a test case(attached as fc_long.ll) that when run through the
optimizer produces 65bit integer math(fc_long-opt.ll).

 

Now I understand that llvm can have any length integer, but I consider
turning a 64bit mul into multiple 65 bit instructions to be a 'bad'
optimization. This eventually expands to a 128bit multiply
call(__multi3) which I have absolutely no interest in supporting. So I'm
wondering what optimization might be the culprit here so I can disable
it in this situation.

 

Micah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091012/e646bec7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fc_long.ll
Type: application/octet-stream
Size: 3302 bytes
Desc: fc_long.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091012/e646bec7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fc_long-opt.ll
Type: application/octet-stream
Size: 2274 bytes
Desc: fc_long-opt.ll
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091012/e646bec7/attachment-0001.obj>


More information about the llvm-dev mailing list