#
b6d795c1 |
| 07-Sep-2007 |
Dale Johannesen <dalej@apple.com> |
Revert previous change to IR.
llvm-svn: 41769
|
#
bed9dc42 |
| 06-Sep-2007 |
Dale Johannesen <dalej@apple.com> |
Next round of APFloat changes. Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interface
Next round of APFloat changes. Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interfaces. Use APFloat functions for constant folding arithmetic and comparisons. (There are still way too many places APFloat is just a wrapper around host float/double, but we're getting there.)
llvm-svn: 41747
show more ...
|
#
c656cbb8 |
| 04-Sep-2007 |
David Greene <greened@obbligato.org> |
Update GEP constructors to use an iterator interface to fix GLIBCXX_DEBUG issues.
llvm-svn: 41697
|
#
703623d5 |
| 27-Aug-2007 |
David Greene <greened@obbligato.org> |
Update InvokeInst to work like CallInst
llvm-svn: 41506
|
#
bdad8097 |
| 09-Aug-2007 |
Dale Johannesen <dalej@apple.com> |
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 <chandlerc@gmail.com> |
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 <dalej@apple.com> |
Long double, part 1 of N. Support in IR.
llvm-svn: 40774
|
#
17a5dfe6 |
| 01-Aug-2007 |
David Greene <greened@obbligato.org> |
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 <ggreif@gmail.com> |
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 <sabre@nondot.org> |
Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9.
llvm-svn: 37204
|
#
a6f88ced |
| 15-May-2007 |
Chris Lattner <sabre@nondot.org> |
implement the ModuleProvider::dematerializeFunction hook
llvm-svn: 37080
|
#
4c0a6d66 |
| 08-May-2007 |
Chris Lattner <sabre@nondot.org> |
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 <sabre@nondot.org> |
fix off-by-one that caused the llvm2cpp test to fail
llvm-svn: 36880
|
#
3c5616ee |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
Allow structs with zero fields.
llvm-svn: 36862
|
#
a77bb942 |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
add a missing check
llvm-svn: 36859
|
#
af8fffc0 |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
implement reading/writing of inlineasm objects
llvm-svn: 36827
|
#
f25f710c |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
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 <sabre@nondot.org> |
implement the 'string constant' optimization. This shrinks kc.bit from 2878544 to 2815788
llvm-svn: 36818
|
#
e9759c29 |
| 06-May-2007 |
Chris Lattner <sabre@nondot.org> |
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 <sabre@nondot.org> |
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 <sabre@nondot.org> |
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 <sabre@nondot.org> |
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 <sabre@nondot.org> |
eliminate internal length fields from record. Records already know their total length
llvm-svn: 36752
|
#
beca065b |
| 04-May-2007 |
Chris Lattner <sabre@nondot.org> |
storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips
llvm-svn: 36738
|
#
e11c6ce3 |
| 04-May-2007 |
Chris Lattner <sabre@nondot.org> |
fix a misplaced error
llvm-svn: 36736
|