aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct the use AC_RUN_IFELSE to ensure it builds programs correctly byReid Spencer2004-09-202-14/+8
| | | | | | | using the AC_LANG_PROGRAM macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16426 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the suffix for shared libraries to be obtained correctly so we canReid Spencer2004-09-201-1/+1
| | | | | | | build them again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16425 91177308-0d34-0410-b5e6-96231b3b80d8
* The problem with depending on the internal implementation of third partyReid Spencer2004-09-201-1/+1
| | | | | | | tools is that you break when they change. This is a case in point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16424 91177308-0d34-0410-b5e6-96231b3b80d8
* libtool's name is now back to mklib.Reid Spencer2004-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16423 91177308-0d34-0410-b5e6-96231b3b80d8
* Change to support creation of "mklib" instead of "libtool" in builddir.Reid Spencer2004-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16422 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the script to generate mklib instead of libtool.Reid Spencer2004-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16421 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust the libtool macros so that libtool's name is "mklib". Also, tidy upReid Spencer2004-09-191-1719/+3079
| | | | | | | the use of obsolete macros, hopefully making us more compliant on more sys. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16420 91177308-0d34-0410-b5e6-96231b3b80d8
* Various minor cleanups and replacement of obsoleted macro names.Reid Spencer2004-09-191-14/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16419 91177308-0d34-0410-b5e6-96231b3b80d8
* Numerous fixes to convert ~ into ; that (probably) occurred during dataReid Spencer2004-09-191-61/+45
| | | | | | | transmission. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16418 91177308-0d34-0410-b5e6-96231b3b80d8
* The lexicon doc is more of a user guide than programming doxChris Lattner2004-09-191-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16417 91177308-0d34-0410-b5e6-96231b3b80d8
* Bring the script out of the dark ages and into modern autoconfness.Reid Spencer2004-09-1912-124/+115
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16415 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the "Warning" notice a LOT more prominent.Reid Spencer2004-09-191-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16414 91177308-0d34-0410-b5e6-96231b3b80d8
* Add in version dependency checks on all the tools we depend on. This isReid Spencer2004-09-191-6/+17
| | | | | | | | | | necessary to ensure that a consistent configuration is created on each platform. Certain definitions we use (like m4/libtool.m4) require certain versions of the tools and we can no longer be slack about this or we'll have problems with mis-configured builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16412 91177308-0d34-0410-b5e6-96231b3b80d8
* Add our own version of libtool.m4 instead of relying on the installed one.Reid Spencer2004-09-191-0/+6010
| | | | | | | | | | | | | This is a potential version mismatch problem because this file came from libtool 1.5.10. If you're running a different version of libtool, the checks in this file may not be quite right. Having our own version of this file violates the spirit of libtool and is only provided to change the name of "libtool" to "mklib". This is done so that the name "libtool" does not conflict with the "lib" directory when doing tab completion and your $objdir == $srcdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16411 91177308-0d34-0410-b5e6-96231b3b80d8
* better codeChris Lattner2004-09-191-4/+6
| | | | | | | Move other things to the right sections git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16410 91177308-0d34-0410-b5e6-96231b3b80d8
* Make isSafeToLoadUnconditionally a bit smarter, implementing PR362 andChris Lattner2004-09-191-6/+28
| | | | | | | Regression/Transforms/InstCombine/CPP_min_max.llx git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16409 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for PR362: Icky code generated for std::min/std::maxChris Lattner2004-09-191-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16408 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a nasty iterator invalidation problem I introduced yesterday. ThisChris Lattner2004-09-191-5/+5
| | | | | | | | unfortunately is the cause of a bunch of failures from tonight, and the reason the tester is running so slow :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16407 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a whole bunch of horrible hacky code that was used to promote allocasChris Lattner2004-09-191-145/+7
| | | | | | | | | | whose addresses where used by trivial phi nodes and select instructions. This is now performed by the instcombine pass, which is more powerful, is much simpler, and is faster. This allows the deletion of a bunch of code, two FIXME's and two gotos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16406 91177308-0d34-0410-b5e6-96231b3b80d8
* Instcombine now helps out with theseChris Lattner2004-09-192-4/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16405 91177308-0d34-0410-b5e6-96231b3b80d8
* Make instruction combining a bit more aggressive in the face of volatileChris Lattner2004-09-191-3/+60
| | | | | | | loads, and implement two new transforms: InstCombine/load.ll:test[56]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16404 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two new testcases that instcombine should handleChris Lattner2004-09-191-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16403 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor correction to Signals implementation.Reid Spencer2004-09-192-28/+48
| | | | | | | Patch submitted by Jeff Cohen. Thanks Jeff! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16401 91177308-0d34-0410-b5e6-96231b3b80d8
* Add commentChris Lattner2004-09-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16400 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the inliner to always delete any edges from the external call node toChris Lattner2004-09-181-8/+7
| | | | | | | | | | | a function being deleted. Due to optimizations done while inlining, there can be edges from the external call node to a function node that were not apparent any longer. This fixes the compiler crash while compiling 175.vpr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16399 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CallGraphNode::removeAnyCallEdgeTo methodChris Lattner2004-09-182-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16398 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the /dev/zero device as the device on which the pages are mapped.Reid Spencer2004-09-181-1/+7
| | | | | | | Patch contributed by Henrik Bach. Thanks Henrik! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16397 91177308-0d34-0410-b5e6-96231b3b80d8
* Porting of Unix implementation to Win32.Reid Spencer2004-09-182-96/+380
| | | | | | | Patch contributed by Jeff Cohen. Thanks Jeff! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16396 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of file descriptor leak in create_file.Reid Spencer2004-09-182-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16395 91177308-0d34-0410-b5e6-96231b3b80d8
* Misha implemented the ModuleProvider interface back in 9/18/2003.Chris Lattner2004-09-181-28/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16394 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide initial docs for CallGraphSCCPass's, and fix several grammar-o's andChris Lattner2004-09-181-15/+130
| | | | | | | other problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16393 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this HTML 4.01 strictChris Lattner2004-09-181-4/+4
| | | | | | | Update to reflect changes to the 'Register' tblgen class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16392 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't include libtool "object" filesChris Lattner2004-09-182-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16391 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert this pass to be a CallGraphSCCPass instead of a Pass, which eliminatesChris Lattner2004-09-181-39/+33
| | | | | | | | the worklist and makes it more efficient. This does not change functionality at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16390 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to remove the Select instruction as wellChris Lattner2004-09-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16389 91177308-0d34-0410-b5e6-96231b3b80d8
* When changing a function, make sure to update the CallGraphNode for theChris Lattner2004-09-181-0/+1
| | | | | | | function, not just the CallGraph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16388 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement new changeFunction method, nuke a never implemented one.Chris Lattner2004-09-181-11/+19
| | | | | | | Add comments and doxygenify others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16387 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement new changeFunction method, nuke a never implemented one.Chris Lattner2004-09-181-8/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16386 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the distclean target to handle the new location of config.h.John Criswell2004-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16385 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo in commentChris Lattner2004-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16384 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure critical sections are entered before trying to leave them.Reid Spencer2004-09-172-2/+24
| | | | | | | | | Add some additional commentary about the workings of this module. Patch contributed by Jeff Cohen. Thanks Jeff! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16383 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust the license files based on the actual content of llvm and llvm-testReid Spencer2004-09-161-29/+0
| | | | | | | after llvm-test was split out of llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16382 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow "bc" as suffix for bytecode files.Reid Spencer2004-09-162-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16381 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the signals interface for Win32.Reid Spencer2004-09-162-12/+366
| | | | | | | Patch provided by Jeff Cohen. Thanks Jeff! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16380 91177308-0d34-0410-b5e6-96231b3b80d8
* Add dependencies so that project tools are recompiled if LLVM librariesJohn Criswell2004-09-161-3/+8
| | | | | | | are updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16378 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a newlineChris Lattner2004-09-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16369 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert code to compile with vc7.1.Reid Spencer2004-09-1516-58/+74
| | | | | | | Patch contributed by Paolo Invernizzi. Thanks Paolo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16368 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to update the list end when an element is removed from it. ThisChris Lattner2004-09-151-0/+4
| | | | | | | fixes a crash in LICM when processing povray. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16367 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some assertionsChris Lattner2004-09-151-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16366 91177308-0d34-0410-b5e6-96231b3b80d8
* Stacker compiler library doesn't need to be shared and it can causeReid Spencer2004-09-151-1/+0
| | | | | | | problems on some platforms (like Solaris). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16365 91177308-0d34-0410-b5e6-96231b3b80d8