Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix program: SingleSource/UnitTests/2003-07-09-SignedArgs with the CBE | Chris Lattner | 2003-07-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 7276 | |||||
* | Simplify code by using ConstantInt::getRawValue instead of checking to see | Chris Lattner | 2003-07-23 | 1 | -3/+1 | |
| | | | | | | whether the constant is signed or unsigned, then casting llvm-svn: 7252 | |||||
* | Eliminated dead code. | Misha Brukman | 2003-07-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 7209 | |||||
* | Some beautification changes (tabs to spaces, removed extra blank lines); | Misha Brukman | 2003-07-09 | 1 | -6/+4 | |
| | | | | | | no functionality changed. llvm-svn: 7138 | |||||
* | Removed size_t from the parameter list of the malloc() prototype in generated C | John Criswell | 2003-07-08 | 1 | -1/+1 | |
| | | | | | | code. This prevents a compiler warning on Sparc that causes the tests to fail. llvm-svn: 7125 | |||||
* | jmp_buf is really a pointer type that is passed around... | Chris Lattner | 2003-06-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 6935 | |||||
* | Add support for the Invoke instruction! | Chris Lattner | 2003-06-28 | 1 | -9/+48 | |
| | | | | llvm-svn: 6934 | |||||
* | Preserve compatibility with non-gcc compilers | Chris Lattner | 2003-06-28 | 1 | -4/+14 | |
| | | | | llvm-svn: 6932 | |||||
* | Fix bug: CBackend/2003-06-28-LinkOnceGlobalVars.llx | Chris Lattner | 2003-06-28 | 1 | -0/+2 | |
| | | | | llvm-svn: 6931 | |||||
* | - Fixed name mangling conditions to handle 'linkonce' linkage type. In | Joel Stanley | 2003-06-25 | 1 | -30/+44 | |
| | | | | | | | | | | | | particular, name mangling for GlobalValues only occurs when the linkage type is internal or when the name must be mangled to avoid a collision. See comments in CWriter::getValueName for more information. - 'inline' keyword is now emitted for functions with 'linkonce' linkage type. - Fixed typos. llvm-svn: 6898 | |||||
* | It seems likely that floats would need a cast too, because they are | Brian Gaeke | 2003-06-25 | 1 | -1/+2 | |
| | | | | | | ordinarily promoted to doubles. llvm-svn: 6894 | |||||
* | Fix 2003-06-23-PromotedExprs.llx -- if we are adding two bytes we better | Brian Gaeke | 2003-06-23 | 1 | -0/+14 | |
| | | | | | | | explicitly cast the result to be a byte, or C will gleefully promote it to int. llvm-svn: 6869 | |||||
* | lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code here | Brian Gaeke | 2003-06-17 | 1 | -4/+30 | |
| | | | | | | | | | | into a new function FPCSafeToPrint(), and use it in printConstant() and printFunction() to decide whether we should output ConstantFPs as floating-point constants or as references to stack-allocated variables. lib/VMCore/AsmWriter.cpp: Fix an apparent typo in the code mentioned above. llvm-svn: 6762 | |||||
* | Fairly major change: emit fixed sized allocas in the entry block as a variable, | Chris Lattner | 2003-06-17 | 1 | -6/+26 | |
| | | | | | | | | | instead of a variable pointer and an alloca. All accesses to the variable then use the address-of operator to access it. This plays better with the internal GCC code generation phases, which bail early on functions which contain allocas. It also makes the code a bit easier to read. llvm-svn: 6734 | |||||
* | Don't include alloca.h on FreeBSD. | Brian Gaeke | 2003-06-16 | 1 | -0/+2 | |
| | | | | llvm-svn: 6728 | |||||
* | Fix typeo | Chris Lattner | 2003-06-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 6704 | |||||
* | Fix bug: CBackend/2003-06-11-HexConstant.ll | Chris Lattner | 2003-06-16 | 1 | -5/+17 | |
| | | | | | | Fix bug: CBackend/2003-06-11-LiteralStringProblem.ll llvm-svn: 6697 | |||||
* | Don't output explicit initializers for globals that are zero initialized | Chris Lattner | 2003-06-06 | 1 | -4/+4 | |
| | | | | llvm-svn: 6651 | |||||
* | Fix bug: CBackend/2003-06-01-NullPointerType.ll | Chris Lattner | 2003-06-02 | 1 | -4/+5 | |
| | | | | llvm-svn: 6526 | |||||
* | Fix a bug with casts to bool. This fixes testcase ↵ | Chris Lattner | 2003-06-01 | 1 | -1/+7 | |
| | | | | | | UnitTests/2003-05-31-CastToBool.c llvm-svn: 6507 | |||||
* | Eliminate unnecessary ->get calls that are now automatically handled. | Chris Lattner | 2003-05-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 6397 | |||||
* | Add support for setjmp/longjmp primitives | Chris Lattner | 2003-05-17 | 1 | -1/+14 | |
| | | | | | | Patch checked in for Bill Wendling :) llvm-svn: 6241 | |||||
* | Casts are now unnecessary | Chris Lattner | 2003-05-14 | 1 | -6/+6 | |
| | | | | llvm-svn: 6199 | |||||
* | Fix bug: CBackend/2003-05-13-VarArgFunction.ll | Chris Lattner | 2003-05-13 | 1 | -2/+3 | |
| | | | | | | | In C, a prototype with no arguments is varargs. A prototype that takes void has zero args. llvm-svn: 6172 | |||||
* | Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c | Chris Lattner | 2003-05-12 | 1 | -1/+7 | |
| | | | | llvm-svn: 6128 | |||||
* | Add support for variable argument functions! | Chris Lattner | 2003-05-08 | 1 | -5/+44 | |
| | | | | llvm-svn: 6044 | |||||
* | Fix bug: UnitTests/2003-05-02-DependantPHI.c | Chris Lattner | 2003-05-03 | 1 | -3/+18 | |
| | | | | | | Fix testcase MultiSource/Ptrdist-ks llvm-svn: 6000 | |||||
* | * Eliminate using decls | Chris Lattner | 2003-05-03 | 1 | -37/+34 | |
| | | | | | | | * Fix some styleistic things * Fix bug: CWriter/2002-05-16-NameCollide.ll llvm-svn: 5988 | |||||
* | Fix problem where labels were being incorrectly elided, and fix problem | Chris Lattner | 2003-04-23 | 1 | -3/+4 | |
| | | | | | | where PHI copies where not emitted for the default label of switch insts llvm-svn: 5882 | |||||
* | Fix the super obnoxious "cast to pointer from integer of different size" ↵ | Chris Lattner | 2003-04-23 | 1 | -8/+9 | |
| | | | | | | warnings llvm-svn: 5881 | |||||
* | Remove unneccesary &* | Chris Lattner | 2003-04-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 5871 | |||||
* | Add support for the switch instruction to the CWriter | Chris Lattner | 2003-04-22 | 1 | -7/+23 | |
| | | | | llvm-svn: 5847 | |||||
* | Fixed alloca declaration problem on sun. | Joel Stanley | 2003-02-12 | 1 | -8/+19 | |
| | | | | llvm-svn: 5546 | |||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -7/+6 | |
| | | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779 | |||||
* | *** empty log message *** | Nick Hildenbrandt | 2002-11-18 | 1 | -4/+8 | |
| | | | | llvm-svn: 4754 | |||||
* | *** empty log message *** | Nick Hildenbrandt | 2002-11-18 | 1 | -42/+46 | |
| | | | | llvm-svn: 4745 | |||||
* | _REALLY_ fix the float constant problem | Chris Lattner | 2002-11-07 | 1 | -3/+4 | |
| | | | | llvm-svn: 4609 | |||||
* | Print out 'float' constants correctly | Chris Lattner | 2002-11-07 | 1 | -3/+12 | |
| | | | | llvm-svn: 4607 | |||||
* | Fixes escapeing bug in strings. Fixes test case ↵ | Nick Hildenbrandt | 2002-11-06 | 1 | -2/+2 | |
| | | | | | | test/Regression/CBackend/2002-11-06-PrintEscaped.c llvm-svn: 4583 | |||||
* | Loads and stores can't be inlined. This fixes test/Singlesource/matrixTranspose | Nick Hildenbrandt | 2002-11-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 4579 | |||||
* | Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll | Nick Hildenbrandt | 2002-11-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 4486 | |||||
* | Casting NULL can cause problems so lets just not cast NULL to anything. | Nick Hildenbrandt | 2002-10-28 | 1 | -3/+1 | |
| | | | | llvm-svn: 4349 | |||||
* | *** empty log message *** | Nick Hildenbrandt | 2002-10-28 | 1 | -1/+14 | |
| | | | | llvm-svn: 4343 | |||||
* | Malloc prototyping now works even if the original file had its own prototype ↵ | Nick Hildenbrandt | 2002-10-23 | 1 | -3/+13 | |
| | | | | | | for malloc llvm-svn: 4271 | |||||
* | Fix bug: CBackend/2002-10-16-External.ll | Chris Lattner | 2002-10-16 | 1 | -7/+6 | |
| | | | | llvm-svn: 4201 | |||||
* | Fix bug: test/Regression/CBackend/2002-10-15-OpaqueTypeProblem.ll | Chris Lattner | 2002-10-16 | 1 | -2/+10 | |
| | | | | llvm-svn: 4190 | |||||
* | Instead of adding stdlib we just prototype malloc correctly. | Nick Hildenbrandt | 2002-10-11 | 1 | -1/+3 | |
| | | | | llvm-svn: 4118 | |||||
* | Sun requires you to include stdlib to use malloc | Nick Hildenbrandt | 2002-10-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 4117 | |||||
* | Bug fix: In preventing static global variables from being printed twice, | Vikram S. Adve | 2002-10-05 | 1 | -3/+2 | |
| | | | | | | | I also prevented external globals from being printed twice, but they should (extern declaration and definition). llvm-svn: 4043 | |||||
* | Add parens around constant calls to getelemptr to properly associate the ↵ | Nick Hildenbrandt | 2002-10-03 | 1 | -2/+2 | |
| | | | | | | reference llvm-svn: 4032 |