| #
bdad8097 |
| 09-Aug-2007 |
Dale Johannesen <[email protected]> |
Patch 10 for long double. Doing constants right needs expanding ConstantFP to handle values bigger than double. If we assume host==target and host long double works correctly, this is not too bad,
Patch 10 for long double. Doing constants right needs expanding ConstantFP to handle values bigger than double. If we assume host==target and host long double works correctly, this is not too bad, but we don't want to have that limitation longterm. I could implement accepting double constants as long double or something like that, which would lead to incorrect codegen with no errors; the more I think about that the worse it seems. Rather than do such a hack that would be backed out later, I'm settling for giving reasonable error messages, for now.
llvm-svn: 40974
show more ...
|
| #
7132e00d |
| 04-Aug-2007 |
Chandler Carruth <[email protected]> |
This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It
This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future.
This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported.
llvm-svn: 40807
show more ...
|
| #
ff4c3be7 |
| 03-Aug-2007 |
Dale Johannesen <[email protected]> |
Long double, part 1 of N. Support in IR.
llvm-svn: 40774
|
| #
17a5dfe6 |
| 01-Aug-2007 |
David Greene <[email protected]> |
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
| #
e16561cd |
| 05-Jul-2007 |
Gabor Greif <[email protected]> |
Here is the bulk of the sanitizing. Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
|
Revision tags: llvmorg-2.0.0 |
|
| #
9eeada94 |
| 18-May-2007 |
Chris Lattner <[email protected]> |
Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9.
llvm-svn: 37204
|
| #
a6f88ced |
| 15-May-2007 |
Chris Lattner <[email protected]> |
implement the ModuleProvider::dematerializeFunction hook
llvm-svn: 37080
|
| #
4c0a6d66 |
| 08-May-2007 |
Chris Lattner <[email protected]> |
Make a preemptive bitcode format change to support PR1146. This lets us do pr1146 in llvm 2.1 without ugly code to emulate old behavior. This should be merged into the 2.0 release branch.
llvm-svn
Make a preemptive bitcode format change to support PR1146. This lets us do pr1146 in llvm 2.1 without ugly code to emulate old behavior. This should be merged into the 2.0 release branch.
llvm-svn: 36928
show more ...
|
| #
53862f7d |
| 06-May-2007 |
Chris Lattner <[email protected]> |
fix off-by-one that caused the llvm2cpp test to fail
llvm-svn: 36880
|
| #
3c5616ee |
| 06-May-2007 |
Chris Lattner <[email protected]> |
Allow structs with zero fields.
llvm-svn: 36862
|
| #
a77bb942 |
| 06-May-2007 |
Chris Lattner <[email protected]> |
add a missing check
llvm-svn: 36859
|
| #
af8fffc0 |
| 06-May-2007 |
Chris Lattner <[email protected]> |
implement reading/writing of inlineasm objects
llvm-svn: 36827
|
| #
f25f710c |
| 06-May-2007 |
Chris Lattner <[email protected]> |
add a denser encoding for null terminated strings, add a 6-bit abbrev as well. This shrinks kc++ from 2724088 to 2717360 bytes.
llvm-svn: 36821
|
| #
036d1bdd |
| 06-May-2007 |
Chris Lattner <[email protected]> |
implement the 'string constant' optimization. This shrinks kc.bit from 2878544 to 2815788
llvm-svn: 36818
|
| #
e9759c29 |
| 06-May-2007 |
Chris Lattner <[email protected]> |
further reduce the redundancy of types in the instruction encoding. This shrinks function bodies in kc++ from 891913B to 884073B
llvm-svn: 36817
|
| #
df1233df |
| 06-May-2007 |
Chris Lattner <[email protected]> |
stop encoding type/value pairs when the type is implied by the value. This shrinks the function block of kc++ from 1055K to 906K
llvm-svn: 36816
|
| #
6eeea5dc |
| 05-May-2007 |
Chris Lattner <[email protected]> |
add support for BLOCKINFO records at the module level. This fixes the reader issues reid noticed last night.
llvm-svn: 36785
|
| #
982ec1ed |
| 05-May-2007 |
Chris Lattner <[email protected]> |
Implement support for globally associating abbrevs with block IDs, which relieves us from having to emit the abbrevs into each instance of the block. This shrinks kc.bit from 3368K to 3333K, but will
Implement support for globally associating abbrevs with block IDs, which relieves us from having to emit the abbrevs into each instance of the block. This shrinks kc.bit from 3368K to 3333K, but will be a more significant win once instructions are abbreviated.
The VST went from:
Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.29508e+07b/1.61885e+06B/404713W Average Size: 5522.73b/690.342B/172.585W % of file: 48.0645 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 7035/3 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100
to:
Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.26713e+07b/1.58391e+06B/395978W Average Size: 5403.53b/675.442B/168.86W % of file: 47.5198 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100
because we didn't emit the same 3 abbrevs 2345 times :)
llvm-svn: 36767
show more ...
|
| #
e14cb88e |
| 04-May-2007 |
Chris Lattner <[email protected]> |
eliminate internal length fields from record. Records already know their total length
llvm-svn: 36752
|
| #
beca065b |
| 04-May-2007 |
Chris Lattner <[email protected]> |
storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips
llvm-svn: 36738
|
| #
e11c6ce3 |
| 04-May-2007 |
Chris Lattner <[email protected]> |
fix a misplaced error
llvm-svn: 36736
|
| #
70f4566d |
| 04-May-2007 |
Chris Lattner <[email protected]> |
encode and read param attrs along with function type. WE can now roundtrip Olden/voronoi loslessly
llvm-svn: 36735
|
| #
fee5a375 |
| 04-May-2007 |
Chris Lattner <[email protected]> |
add support for reading the param attrs block
llvm-svn: 36731
|
| #
a68e3c7c |
| 04-May-2007 |
Chris Lattner <[email protected]> |
remove dead code
llvm-svn: 36728
|
| #
dea02bd8 |
| 04-May-2007 |
Reid Spencer <[email protected]> |
Allow this to compile with gcc 4.0.X
llvm-svn: 36723
|