[llvm-commits] ConstantInt Patch

Reid Spencer rspencer at reidspencer.com
Mon Feb 26 10:46:29 PST 2007


Hi,

I would like to commit this small patch but thought I should send it out
first. This changes ConstantInt to use an APInt object as its value
instead of a uint64_t. The interface to ConstantInt still uses uint64_t
so the APInt is just being used as a glorified uint64_t as all bit
widths are <= 64. This change passes DejaGnu, the MultiSource/Benchmarks
test suite, and a few of the SPEC benchmarks that I tried (444.namd,
176.gcc, 473.astar).

Okay to commit?

Reid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConstantInt.patch
Type: text/x-patch
Size: 4951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070226/3dbf4caf/attachment.bin>


More information about the llvm-commits mailing list