aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This code rotted - change it to call abort() until someone wantsBrian Gaeke2004-12-032-52/+4
| | | | | | | to rewrite this to use relocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18453 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -strip-debug to gccas when bytecode libraries are being built.Reid Spencer2004-12-031-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -strip-debug optionChris Lattner2004-12-031-3/+9
| | | | | | | remove the temporary -disable-dse option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18451 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18450 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a regression caused by the previous patchChris Lattner2004-12-031-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18449 91177308-0d34-0410-b5e6-96231b3b80d8
* These lookup symbols with leading underscores, which currently fails inJohn Criswell2004-12-022-0/+2
| | | | | | | | the PowerPC JIT. Hence, they are XFAILs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18443 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust to change in pass nameChris Lattner2004-12-021-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize --strip-all as a synonym for -s.Chris Lattner2004-12-023-10/+20
| | | | | | | Add -S and --strip-debug option support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18441 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial reimplementation of the -strip pass, with a stub for implementingChris Lattner2004-12-021-0/+68
| | | | | | | -S git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18440 91177308-0d34-0410-b5e6-96231b3b80d8
* This pass is moving to lib IPOChris Lattner2004-12-021-56/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18439 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the strip pass from Scalar to IPO libChris Lattner2004-12-022-8/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18438 91177308-0d34-0410-b5e6-96231b3b80d8
* Quiet!Chris Lattner2004-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437 91177308-0d34-0410-b5e6-96231b3b80d8
* The stripping pass as we know it is about to disappearChris Lattner2004-12-021-9/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18436 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting revision 1.209.John Criswell2004-12-022-2/+2
| | | | | | | | Including alloca.h on Solaris brings in the prototype of strftime(), which breaks compilation of CBE generated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18435 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a noteChris Lattner2004-12-021-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18434 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18433 91177308-0d34-0410-b5e6-96231b3b80d8
* Consider 64-bit registers to be FP as well.Chris Lattner2004-12-021-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18432 91177308-0d34-0410-b5e6-96231b3b80d8
* Document beta passChris Lattner2004-12-021-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18431 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize the makefiles with space around = to match the rest of LLVM.Reid Spencer2004-12-0217-66/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18429 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18428 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize the format of the runtime libraries makefiles.Reid Spencer2004-12-0212-23/+32
| | | | | | | | | * Don't have lines longer than 80 cols * Blank line after the header * Reduce spaces in var definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18427 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR466:Reid Spencer2004-12-021-31/+14
| | | | | | | | | Much of what this Makefile did to make a libcrtend.a file is now supported by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've simplified the make rules for building this library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18426 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR466:Reid Spencer2004-12-021-24/+27
| | | | | | | | | | | | Change construction of bytecode libraries from producing a single bytecode file to producing a library containing bytecode files. This gets around the problem of multiple symbol definitions in the linker if something like -lc -lc is attempted on the command line. Previously this happened because the linker would find libc.bc as a "library". It will now find libc.a which it can simply search for missing symbols instead of linking in wholesale. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18425 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this left-over crud from the automake experiment.Reid Spencer2004-12-021-665/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18424 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement file replacement correctly even with the f (TruncateNames) flagReid Spencer2004-12-021-2/+23
| | | | | | | | set. The member name comparison was failing for truncated names. This patch fixes that. Truncated names are now properly replaced. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18423 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix seriously broken implementation of GetMagicNumber.Reid Spencer2004-12-022-8/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18422 91177308-0d34-0410-b5e6-96231b3b80d8
* Search for tclsh last so we don't find the FreeBSD warning script too earlyReid Spencer2004-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18421 91177308-0d34-0410-b5e6-96231b3b80d8
* Search for tclsh last so we don't find the FreeBSD warning script.Reid Spencer2004-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18420 91177308-0d34-0410-b5e6-96231b3b80d8
* Reworked branch adding in prologue. Added check for infinite loops which are ↵Tanya Lattner2004-12-023-39/+46
| | | | | | not modulo scheduled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18419 91177308-0d34-0410-b5e6-96231b3b80d8
* 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18418 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18417 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the tclsh test to find tclsh8.[34] and tclsh8.[34].X as well.Reid Spencer2004-12-021-68/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18415 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make sure the cache variable gets cachedReid Spencer2004-12-021-33/+16
| | | | | | | | | | * Don't search a bunch of .. directories for something we'd never find, because we don't imbed tclsh into LLVM. * Look for various tclsh versions because some platforms don't install the tclsh link but just have tclsh8.3 or tclsh8.4 or some such. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18414 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead fieldChris Lattner2004-12-021-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18412 91177308-0d34-0410-b5e6-96231b3b80d8
* This program doesn't break anything anymore.Chris Lattner2004-12-021-13/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18411 91177308-0d34-0410-b5e6-96231b3b80d8
* Reid has implemented llvm-ranlib. Thanks, Reid!Misha Brukman2004-12-011-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18410 91177308-0d34-0410-b5e6-96231b3b80d8
* * Hyphenate ``constant-propagate''Misha Brukman2004-12-011-3/+12
| | | | | | | | * Add testing notes to the instruction section similar as for intrinsics * Mention adding codegen support for new instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18409 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicated link to "Machine backend"Misha Brukman2004-12-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18408 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18407 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for packed types, contributed by Morten OfstadChris Lattner2004-12-011-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18406 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneeded cast.Chris Lattner2004-12-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18405 91177308-0d34-0410-b5e6-96231b3b80d8
* Get GEP's working with packed types. Contributed by Morten Ofstad!Chris Lattner2004-12-011-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18404 91177308-0d34-0410-b5e6-96231b3b80d8
* Add line # infoChris Lattner2004-12-011-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18403 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed pathname to LLVM tools.John Criswell2004-12-011-1/+1
| | | | | | | Thanks to Vladimir Merzliakov for finding this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18402 91177308-0d34-0410-b5e6-96231b3b80d8
* Be a little more explicit about how to configure LLVM with the --prefixReid Spencer2004-12-011-2/+7
| | | | | | | | option so that permissions errors don't occur if the default, /usr/local, is taken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18401 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typeo, thanks to Duraid for pointing it outChris Lattner2004-12-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18400 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert version 1.39. It breaks the ordering of the library processing.Reid Spencer2004-11-301-8/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18399 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not let GCC emit a warning for INT64_MINChris Lattner2004-11-302-4/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18398 91177308-0d34-0410-b5e6-96231b3b80d8
* Sparcs behave better if we use <alloca.h> and avoid messing with ↵Brian Gaeke2004-11-302-2/+2
| | | | | | __builtin_alloca. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18397 91177308-0d34-0410-b5e6-96231b3b80d8
* Added TCLSH var to site.exp.Tanya Lattner2004-11-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18396 91177308-0d34-0410-b5e6-96231b3b80d8