[llvm-commits] [llvm-gcc] Arbitrary Precition Integer Support

Reid Spencer rspencer at reidspencer.com
Mon Feb 19 12:37:20 PST 2007


Devang / Jim / Chris,

The attached patch has been reviewed by Devang and provides the
"bitwidth" attribute and 3 builtin functions for arbitrary precision
integers (concat, bit select, part select). This is the same as the last
version except it has an additional check for a null pointer that
produced a failure in bootstrap.  That problem is now gone and this
patch passes the Integer test suite as well as MultiSource/Benchmarks. 

I would appreciate it if you could commit this one or indicate why it
could not be committed.

Thanks,

Reid.

P.S. There's likely to be two merge conflicts as this patch includes the
changes to fix the getGetElementPtr interface change as well as Chris'
version of the change to llvm-types.cpp that I suggested today.
Fortunately these should be easy to resolve: just take the llvm-gcc
version in each case .. hopefully svn is smart enough to recognize the
changes as being equivalent.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: BITWIDTH11.patch
Type: text/x-patch
Size: 36974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070219/a646bbd2/attachment.bin>


More information about the llvm-commits mailing list