summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert this disgusting hack, John has a much nicer solutionChris Lattner2004-12-081-23/+0
| | | | llvm-svn: 18611
* Add a disgusting hack to work around a libstdc++ issue. This code shouldChris Lattner2004-12-081-0/+23
| | | | | | be removed when PR400 is resolved. llvm-svn: 18610
* For PR387:\Reid Spencer2004-12-071-0/+3
| | | | | | Add doInitialization method to avoid overloaded virtuals llvm-svn: 18602
* For PR387:\Reid Spencer2004-12-074-0/+12
| | | | | | Add getModRefInfo method to avoid overloaded virtuals llvm-svn: 18601
* Revert the recent patches to "fix" ConstantFP::isValueValidForType. NoneReid Spencer2004-12-071-5/+1
| | | | | | of them seem to work everywhere. llvm-svn: 18598
* Provide a missing header file.Reid Spencer2004-12-071-0/+1
| | | | llvm-svn: 18597
* Fix some comments.Reid Spencer2004-12-071-1/+2
| | | | llvm-svn: 18596
* Fix check for valid floats. Also use and HUGE_VALF insteadAlkis Evlogimenos2004-12-071-10/+1
| | | | | | of std::numeric_limits, because they work in more platforms. llvm-svn: 18593
* Move virtual function call out of loop to speed up getFreePhysReg by aboutNate Begeman2004-12-071-2/+2
| | | | | | 20%, shaving 0.1s off hbd compile time on my g5. Yay. llvm-svn: 18592
* For PR387:\Reid Spencer2004-12-0717-22/+22
| | | | | | | Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual llvm-svn: 18589
* For PR409: \Reid Spencer2004-12-061-0/+11
| | | | | | | Test the range of float constants to ensure we are not attempting to create a \ float constant using a double value that is out of range for a float llvm-svn: 18585
* For PR409: \Reid Spencer2004-12-061-0/+2
| | | | | | | Make sure to check isValueValidForType on floating point constants and give \ an error if the value is not valid, otherwise it would assert in the VMCore llvm-svn: 18584
* Fix PR139: \Reid Spencer2004-12-051-0/+159
| | | | | | Implement LinkItems and BuildLinkItems interfaces. llvm-svn: 18547
* Properly implement a fix for PR475Chris Lattner2004-12-052-13/+15
| | | | llvm-svn: 18537
* Revert this patch, it broke a ton of programs.Chris Lattner2004-12-051-4/+0
| | | | llvm-svn: 18535
* Move lower intrinsics before FP constant emission, in caseChris Lattner2004-12-051-2/+7
| | | | | | | | | intrinsic lowering ever introduces constants. Rename local symbols before printing function bodies, fixing 255.vortex with the CBE!!! llvm-svn: 18534
* When printing out a function, make sure that local and global symbolsChris Lattner2004-12-051-0/+3
| | | | | | don't conflict. This fixes Assembler/2004-12-05-LocalGlobalSymtabConflict.ll llvm-svn: 18532
* Add a new methodChris Lattner2004-12-051-0/+41
| | | | llvm-svn: 18531
* Fix PR475.Alkis Evlogimenos2004-12-051-0/+4
| | | | llvm-svn: 18515
* Distribute headers and license files tooReid Spencer2004-12-041-3/+5
| | | | llvm-svn: 18505
* Provide more information in the error message that occurs when there areReid Spencer2004-12-041-2/+10
| | | | | | unresolved constants remaining. llvm-svn: 18502
* Check in some patches for better assertionsChris Lattner2004-12-042-0/+4
| | | | llvm-svn: 18500
* This patch prevents an infinite recursion while compiling 103.su2cor.Chris Lattner2004-12-041-3/+3
| | | | | | | All SPEC CFP 95 programs now work, though the JIT isn't loading -lf2c right so they aren't testing correctly. llvm-svn: 18499
* Fix linkage of mismatched weak globals. This unbreaks 300.twolfChris Lattner2004-12-041-0/+2
| | | | llvm-svn: 18494
* Do not allow bytecode files with unresolved references to be read. DoingChris Lattner2004-12-041-1/+7
| | | | | | | so lets wierd ConstantPlaceholder objects sneak into the system which confuses it greatly. llvm-svn: 18487
* Fix compilation error on Darwin.Chris Lattner2004-12-041-15/+18
| | | | llvm-svn: 18485
* Check if a block has a terminator first before calling front() onAlkis Evlogimenos2004-12-041-3/+3
| | | | | | | it. If a block has a terminator then it is certainly non-empty so the verifier will not crash on it. llvm-svn: 18484
* Make error msg reflect what exactly went wrong.Alkis Evlogimenos2004-12-041-3/+3
| | | | llvm-svn: 18478
* Prevent accessing past the end of the intervals vector, this fixesChris Lattner2004-12-041-1/+3
| | | | | | Prolang-C/bison in the JIT llvm-svn: 18477
* Remove darwin specific majikChris Lattner2004-12-031-24/+0
| | | | llvm-svn: 18467
* Move darwin-specific majik here.Chris Lattner2004-12-031-5/+27
| | | | llvm-svn: 18466
* Significantly rework linker support for global variables, allowing it toChris Lattner2004-12-031-84/+101
| | | | | | | | | correctly link globals whose LLVM types do not match. This fixes several of the F2C SPEC FP benchmarks, which were failing this due to the implementation of common blocks used by f2c. llvm-svn: 18465
* Fix test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll andChris Lattner2004-12-031-1/+4
| | | | | | PR472 llvm-svn: 18459
* Implement stripping of debug symbols, making the --strip-debug options inChris Lattner2004-12-031-2/+82
| | | | | | gccas/gccld more than just a noop. llvm-svn: 18456
* Do not look here for elegance.Chris Lattner2004-12-031-0/+24
| | | | | | | | This fixes the ugly darwin "cannot find symbols starting with __" issue. Thanks for Owen/resistor for testing this out for me. llvm-svn: 18454
* This code rotted - change it to call abort() until someone wantsBrian Gaeke2004-12-031-26/+2
| | | | | | to rewrite this to use relocations. llvm-svn: 18453
* When writing kernel, save the branches til the end. They are still put in ↵Tanya Lattner2004-12-031-5/+17
| | | | | | the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special. llvm-svn: 18450
* Fix a regression caused by the previous patchChris Lattner2004-12-031-2/+4
| | | | llvm-svn: 18449
* Initial reimplementation of the -strip pass, with a stub for implementingChris Lattner2004-12-021-0/+68
| | | | | | -S llvm-svn: 18440
* This pass is moving to lib IPOChris Lattner2004-12-021-56/+0
| | | | llvm-svn: 18439
* The stripping pass as we know it is about to disappearChris Lattner2004-12-021-9/+1
| | | | llvm-svn: 18436
* Reverting revision 1.209.John Criswell2004-12-021-1/+1
| | | | | | | Including alloca.h on Solaris brings in the prototype of strftime(), which breaks compilation of CBE generated code. llvm-svn: 18435
* Spill/restore X86 floating point stack registers with 64-bits of precisionChris Lattner2004-12-022-6/+13
| | | | | | | | instead of 80-bits of precision. This fixes PR467. This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s. llvm-svn: 18433
* Consider 64-bit registers to be FP as well.Chris Lattner2004-12-021-1/+3
| | | | llvm-svn: 18432
* PR466:Reid Spencer2004-12-021-41/+54
| | | | | | | | | | | | | | | | * Make the linker find lib*.bca files now instead of lib*.bc since those are what the makefiles now generate for bytecode archives. * Make sure the linker only links archives when LinkLibraries is called. Previously if it found a lib*.bc file and that file was a bytecode file, it would link in the entire bytecode. This could make -lc -lc fail with duplicate symbols error but it shouldn't as searching multiple libraries, even the same one more than once, is permitted. * Now that the above problems are corrected, implement the dependent libs feature. After the module is linked with all specified libraries, the LinkLibraries function will obtain the set of dependent libraries from the linked modules and attemp to find and link against those libraries. llvm-svn: 18428
* Fix seriously broken implementation of GetMagicNumber.Reid Spencer2004-12-021-4/+6
| | | | llvm-svn: 18422
* Reworked branch adding in prologue. Added check for infinite loops which are ↵Tanya Lattner2004-12-023-39/+46
| | | | | | not modulo scheduled. llvm-svn: 18419
* Implement a FIXME by checking to make sure that a malloc is not being usedChris Lattner2004-12-021-3/+25
| | | | | | | | | in scary and unknown ways before we promote it. This fixes the miscompilation of 188.ammp that has been plauging us since a globalopt patch went in. Thanks a ton to Tanya for helping me diagnose the problem! llvm-svn: 18418
* Fix a minor bug where we set a var to initialized on malloc, not on store.Chris Lattner2004-12-021-10/+17
| | | | | | This doesn't fix anything that I'm aware of, just noticed it by inspection llvm-svn: 18417
* Reverting this patch:Tanya Lattner2004-12-011-15/+36
| | | | | | | | http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041122/021428.html It broke Mutlisource/Applications/obsequi llvm-svn: 18407
OpenPOWER on IntegriCloud