| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix CBackend/2005-09-27-VolatileFuncPtr.ll | Chris Lattner | 2005-09-27 | 1 | -4/+4 |
| | | | | | llvm-svn: 23475 | ||||
| * | 1. Use SubtargetFeatures in llc/lli. | Jim Laskey | 2005-09-01 | 1 | -1/+2 |
| | | | | | | | | | 2. Propagate feature "string" to all targets. 3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget. llvm-svn: 23192 | ||||
| * | Fix PR618 and Regression/CodeGen/CBackend/2005-08-23-Fmod.ll by not emitting | Chris Lattner | 2005-08-23 | 1 | -0/+14 |
| | | | | | | | x%y for 'rem' on fp values. llvm-svn: 22984 | ||||
| * | Culling out use of unions for converting FP to bits and vice versa. | Jim Laskey | 2005-08-17 | 1 | -20/+5 |
| | | | | | llvm-svn: 22838 | ||||
| * | Fixed PR#596: | John Criswell | 2005-07-14 | 1 | -2/+2 |
| | | | | | | | | | Add parenthesis around the value being negated; that way, if the value begins with a minus sign (e.g. negative integer), we won't generate a C predecrement operator by mistake. llvm-svn: 22437 | ||||
| * | Refactor the addPassesToEmitAssembly interface into a addPassesToEmitFile | Chris Lattner | 2005-06-25 | 2 | -4/+6 |
| | | | | | | | interface. llvm-svn: 22282 | ||||
| * | If we support structs as va_list, we must pass pointers to them to va_copy | Andrew Lenharth | 2005-06-22 | 1 | -1/+1 |
| | | | | | | | See last commit for LangRef, this implements it on all targets. llvm-svn: 22273 | ||||
| * | core changes for varargs | Andrew Lenharth | 2005-06-18 | 1 | -18/+13 |
| | | | | | llvm-svn: 22254 | ||||
| * | clean up the CBE output a bit | Chris Lattner | 2005-05-06 | 1 | -13/+15 |
| | | | | | llvm-svn: 21740 | ||||
| * | add tail marker as a comment | Chris Lattner | 2005-05-06 | 1 | -0/+1 |
| | | | | | llvm-svn: 21739 | ||||
| * | Remove trailing whitespace, patch by Markus Oberhumer. | Misha Brukman | 2005-04-20 | 2 | -59/+59 |
| | | | | | llvm-svn: 21379 | ||||
| * | Fix the 3 regressions last night, due to my buggy patch from yesterday. | Chris Lattner | 2005-03-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 20689 | ||||
| * | remove use of getPrev() and getNext() on ilist nodes. | Chris Lattner | 2005-03-18 | 1 | -5/+8 |
| | | | | | llvm-svn: 20673 | ||||
| * | stop using arg_front | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 20599 | ||||
| * | stop using arg_back | Chris Lattner | 2005-03-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 20598 | ||||
| * | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -13/+13 |
| | | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | ||||
| * | Make sure to remove all dead type names from the symbol table, not just | Chris Lattner | 2005-03-08 | 1 | -9/+8 |
| | | | | | | | | struct types. This fixes Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll, a crash on Java output that Alkis reported. llvm-svn: 20519 | ||||
| * | Single characters should be printed out as chars, not strings. | Misha Brukman | 2005-03-08 | 1 | -2/+2 |
| | | | | | llvm-svn: 20515 | ||||
| * | simplify some code. | Chris Lattner | 2005-03-06 | 1 | -5/+4 |
| | | | | | llvm-svn: 20471 | ||||
| * | Print -X like this: | Chris Lattner | 2005-03-03 | 1 | -22/+30 |
| | | | | | | | | | | | | | | | double test(double l1_X) { return (-l1_X); } instead of like this: double test(double l1_X) { return (-0x0p+0 - l1_X); } llvm-svn: 20423 | ||||
| * | Do not lower malloc's to pass "sizeof" expressions like this: | Chris Lattner | 2005-03-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | ltmp_0_7 = malloc(((unsigned )(&(((signed char (*)[784])/*NULL*/0)[1u])))); Instead, just emit the literal constant, like this: ltmp_0_7 = malloc(784u); This works around a bug in ICC 8.1 compiling the CBE generated code. :-( llvm-svn: 20415 | ||||
| * | Remove tabs from file. | Chris Lattner | 2005-02-28 | 1 | -3/+2 |
| | | | | | llvm-svn: 20380 | ||||
| * | Add support to the C backend for llvm.prefetch. Patch contributed by | Chris Lattner | 2005-02-28 | 1 | -0/+13 |
| | | | | | | | Justin Wick! llvm-svn: 20378 | ||||
| * | Fix volatile load/store of pointers. Consider this testcase: | Chris Lattner | 2005-02-15 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | void %test(int** %P) { %A = volatile load int** %P ret void } void %test2(int*** %Q) { %P = load int*** %Q volatile store int** %P, int*** %Q ret void } instead of emitting: void test(int **l1_P) { int *l2_A; l2_A = (int **((volatile int **)l1_P)); return; } void test2(int ***l2_Q) { int **l1_P; l1_P = *l2_Q; *((volatile int ***)l2_Q) = l1_P; return; } ... which is loading/storing volatile pointers, not through volatile pointers, emit this (which is right): void test(int **l1_P) { int *l3_A; l3_A = *((int * volatile*)l1_P); return; } void test2(int ***l2_Q) { int **l1_P; l1_P = *l2_Q; *((int ** volatile*)l2_Q) = l1_P; return; } llvm-svn: 20191 | ||||
| * | Write out single characters as chars, not strings. | Misha Brukman | 2005-02-14 | 1 | -67/+67 |
| | | | | | llvm-svn: 20179 | ||||
| * | Implement CodeGen/CBackend/2005-02-14-VolatileOperations.ll | Chris Lattner | 2005-02-14 | 1 | -0/+15 |
| | | | | | | | Volatile loads and stores need to emit volatile pointer operations in C. llvm-svn: 20177 | ||||
| * | Fix hyphenation in output comment | Misha Brukman | 2005-01-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 19954 | ||||
| * | Fix alloca support for Cygwin. On cygwin its __alloca not __builtin_alloca | Reid Spencer | 2005-01-23 | 1 | -1/+4 |
| | | | | | llvm-svn: 19776 | ||||
| * | Fix CBE code so that it compiles with VC++. | Jeff Cohen | 2005-01-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 19303 | ||||
| * | Fix PR490 | Chris Lattner | 2004-12-29 | 1 | -0/+6 |
| | | | | | | | Fix testcase CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll llvm-svn: 19176 | ||||
| * | Fix PR485, instead of emitting zero sized arrays, emit arrays of size 1. | Chris Lattner | 2004-12-15 | 1 | -0/+1 |
| | | | | | llvm-svn: 18974 | ||||
| * | When generating code for X86 targets, make sure the fp control word is set | Chris Lattner | 2004-12-13 | 1 | -0/+13 |
| | | | | | | | to 64-bit precision, not 80 bits. llvm-svn: 18915 | ||||
| * | Emit correct prototype for __builtin_alloca on V8. | Brian Gaeke | 2004-12-10 | 1 | -1/+8 |
| | | | | | llvm-svn: 18745 | ||||
| * | Move lower intrinsics before FP constant emission, in case | Chris Lattner | 2004-12-05 | 1 | -2/+7 |
| | | | | | | | | | | intrinsic lowering ever introduces constants. Rename local symbols before printing function bodies, fixing 255.vortex with the CBE!!! llvm-svn: 18534 | ||||
| * | Fix test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll and | Chris Lattner | 2004-12-03 | 1 | -1/+4 |
| | | | | | | | PR472 llvm-svn: 18459 | ||||
| * | Reverting revision 1.209. | John Criswell | 2004-12-02 | 1 | -1/+1 |
| | | | | | | | | Including alloca.h on Solaris brings in the prototype of strftime(), which breaks compilation of CBE generated code. llvm-svn: 18435 | ||||
| * | Do not let GCC emit a warning for INT64_MIN | Chris Lattner | 2004-11-30 | 1 | -2/+5 |
| | | | | | llvm-svn: 18398 | ||||
| * | Sparcs behave better if we use <alloca.h> and avoid messing with ↵ | Brian Gaeke | 2004-11-30 | 1 | -1/+1 |
| | | | | | | | __builtin_alloca. llvm-svn: 18397 | ||||
| * | Hack around stupidity in GCC, fixing Burg with the CBE and | Chris Lattner | 2004-11-13 | 1 | -9/+56 |
| | | | | | | | CBackend/2004-11-13-FunctionPointerCast.llx llvm-svn: 17710 | ||||
| * | Change Library Names Not To Conflict With Others When Installed | Reid Spencer | 2004-10-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 17286 | ||||
| * | Removed dead method, printPHICopiesForSuccessors(). | John Criswell | 2004-10-25 | 1 | -21/+0 |
| | | | | | llvm-svn: 17216 | ||||
| * | Modified switch generation so that only the phi values associated with the | John Criswell | 2004-10-25 | 1 | -1/+2 |
| | | | | | | | destination basic block are copied. llvm-svn: 17212 | ||||
| * | We won't use automake | Reid Spencer | 2004-10-22 | 2 | -673/+0 |
| | | | | | llvm-svn: 17155 | ||||
| * | Small performance improvement in generated C code: | John Criswell | 2004-10-20 | 1 | -1/+23 |
| | | | | | | | | | | | | | Instead of unconditionally copying all phi node values into temporaries for all successor blocks, generate code that will determine what successor block will be called and then copy only those phi node values needed by the successor block. This seems to cut down namd execution time from being 8% higher than GCC to 4% higher than GCC. llvm-svn: 17144 | ||||
| * | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 1 | -0/+657 |
| | | | | | llvm-svn: 17136 | ||||
| * | Print a semicolon for the unreacahble instruction. This fixes problems | Chris Lattner | 2004-10-17 | 1 | -1/+1 |
| | | | | | | | where C requires semicolons in some cases to indicate null statements. llvm-svn: 17107 | ||||
| * | The first hunk corrects a bug when printing undef null values. We would print | Chris Lattner | 2004-10-17 | 1 | -6/+11 |
| | | | | | | | | | 0->field, which is illegal. Now we print ((foo*)0)->field. The second hunk is an optimization to not print undefined phi values. llvm-svn: 17094 | ||||
| * | Add support for unreachable and undef | Chris Lattner | 2004-10-16 | 1 | -2/+10 |
| | | | | | llvm-svn: 17048 | ||||
| * | Update to reflect changes in Makefile rules. | Reid Spencer | 2004-10-13 | 1 | -4/+5 |
| | | | | | llvm-svn: 16950 | ||||
| * | Fix a warning that is emitted on the suns | Chris Lattner | 2004-10-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 16917 | ||||

