oota-llvm.git
19 years agoUse System/DynamicLibrary instead of Support/DynamicLinker
Reid Spencer [Mon, 29 Nov 2004 14:11:29 +0000 (14:11 +0000)]
Use System/DynamicLibrary instead of Support/DynamicLinker

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18357 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse System/DynamicLibrary instead of Support/DynamicLinker to implement.
Reid Spencer [Mon, 29 Nov 2004 14:07:46 +0000 (14:07 +0000)]
Use System/DynamicLibrary instead of Support/DynamicLinker to implement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18356 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImplement two new functions: LoadLibraryPermanently and
Reid Spencer [Mon, 29 Nov 2004 13:33:28 +0000 (13:33 +0000)]
Implement two new functions: LoadLibraryPermanently and
SearchForAddressOfSymbol.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18355 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd in some methods for use by the JIT. LoadLibraryPermanently brings the
Reid Spencer [Mon, 29 Nov 2004 13:27:56 +0000 (13:27 +0000)]
Add in some methods for use by the JIT. LoadLibraryPermanently brings the
library into the address space permanently. SearchForAddressOfSymbol looks
in all previously permanently loaded libraries and any currently open
libraries for a symbol, instead of just one library like GetAddressOfSymbol

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18354 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoShared library extension is now in LTDL_SHLIB_EXT
Reid Spencer [Mon, 29 Nov 2004 12:40:21 +0000 (12:40 +0000)]
Shared library extension is now in LTDL_SHLIB_EXT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18353 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWe just use ltdl's implementation for this abstraction now. Its portable to
Reid Spencer [Mon, 29 Nov 2004 12:39:10 +0000 (12:39 +0000)]
We just use ltdl's implementation for this abstraction now. Its portable to
more platforms than LLVM supports.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18352 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAllow reconfig from any directory, not just the top build directory, by
Reid Spencer [Mon, 29 Nov 2004 12:37:44 +0000 (12:37 +0000)]
Allow reconfig from any directory, not just the top build directory, by
changing directory first. Also make sure that we don't attempt to run
config.status if the recheck didn't work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18351 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChanges resulting from AC_LIB_LTDL usage.
Reid Spencer [Mon, 29 Nov 2004 12:36:16 +0000 (12:36 +0000)]
Changes resulting from AC_LIB_LTDL usage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18350 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Implement embedding libltdl into LLVM which required some rearranging.
Reid Spencer [Mon, 29 Nov 2004 12:29:58 +0000 (12:29 +0000)]
* Implement embedding libltdl into LLVM which required some rearranging.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18349 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Update instructions about upgrading libtool
Reid Spencer [Mon, 29 Nov 2004 12:28:47 +0000 (12:28 +0000)]
* Update instructions about upgrading libtool
* Add instructions about upgrading autoconf

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18348 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't include ltdl.h any more. Its nested in lib/System now.
Reid Spencer [Mon, 29 Nov 2004 12:12:11 +0000 (12:12 +0000)]
Don't include ltdl.h any more. Its nested in lib/System now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18347 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMods for compilation with llvm.
Reid Spencer [Mon, 29 Nov 2004 12:04:27 +0000 (12:04 +0000)]
Mods for compilation with llvm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18346 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOriginal version of ltdl.h from libtool 1.5.10
Reid Spencer [Mon, 29 Nov 2004 12:02:48 +0000 (12:02 +0000)]
Original version of ltdl.h from libtool 1.5.10

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18345 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoOriginal version of ltdl.c from libtool 1.5.10
Reid Spencer [Mon, 29 Nov 2004 12:02:25 +0000 (12:02 +0000)]
Original version of ltdl.c from libtool 1.5.10

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18344 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoConverted with autoupdate for autoconf 2.50 -> 2.59 differences.
Reid Spencer [Mon, 29 Nov 2004 11:27:12 +0000 (11:27 +0000)]
Converted with autoupdate for autoconf 2.50 -> 2.59 differences.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18343 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThis file contains macros that allow us to incorporate the ltdl source into
Reid Spencer [Mon, 29 Nov 2004 10:56:45 +0000 (10:56 +0000)]
This file contains macros that allow us to incorporate the ltdl source into
our own library so that it is magically hidden and we don't have to depend
on linking with -lltdl option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18342 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImplement the default constructor which causes the current program to be
Reid Spencer [Mon, 29 Nov 2004 10:39:46 +0000 (10:39 +0000)]
Implement the default constructor which causes the current program to be
opened as if it was a dynamic library so its symbols can be searched too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18341 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the default constructor cause the program's symbols to be loaded as
Reid Spencer [Mon, 29 Nov 2004 10:38:54 +0000 (10:38 +0000)]
Make the default constructor cause the program's symbols to be loaded as
if it was a dynamic library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18340 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake it HTML 4.01 Strict compliant.
Reid Spencer [Mon, 29 Nov 2004 07:47:16 +0000 (07:47 +0000)]
Make it HTML 4.01 Strict compliant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18339 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Document how to turn on doxygen documentation generation
Reid Spencer [Mon, 29 Nov 2004 07:44:51 +0000 (07:44 +0000)]
* Document how to turn on doxygen documentation generation
* Document the new "LLVMLIBS=JIT" feature to make building JIT programs
  super easy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18338 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNo longer necessary, moved Makefile.rules
Reid Spencer [Mon, 29 Nov 2004 07:17:31 +0000 (07:17 +0000)]
No longer necessary, moved Makefile.rules

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18337 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse LLVMLIBS=JIT to get JIT libraries
Reid Spencer [Mon, 29 Nov 2004 07:17:18 +0000 (07:17 +0000)]
Use LLVMLIBS=JIT to get JIT libraries

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18333 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIncorporate tools/Makefile.JIT
Reid Spencer [Mon, 29 Nov 2004 07:17:07 +0000 (07:17 +0000)]
Incorporate tools/Makefile.JIT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18332 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake sure the program's symbols can be dlsym'd as well.
Reid Spencer [Mon, 29 Nov 2004 06:23:19 +0000 (06:23 +0000)]
Make sure the program's symbols can be dlsym'd as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18331 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRevamp long/ulong comparisons to use a much more efficient sequence (thanks
Chris Lattner [Mon, 29 Nov 2004 05:55:24 +0000 (05:55 +0000)]
Revamp long/ulong comparisons to use a much more efficient sequence (thanks
to Brian and the Sun compiler for pointing out that the obvious works :)

This also enables folding all long comparisons into setcc and branch
instructions: before we could only do == and !=

For example, for:
void test(unsigned long long A, unsigned long long B) {
   if (A < B) foo();
 }

We now generate:

test:
        subl $4, %esp
        movl %esi, (%esp)
        movl 8(%esp), %eax
        movl 12(%esp), %ecx
        movl 16(%esp), %edx
        movl 20(%esp), %esi
        subl %edx, %eax
        sbbl %esi, %ecx
        jae .LBBtest_2  # UnifiedReturnBlock
.LBBtest_1:     # then
        call foo
        movl (%esp), %esi
        addl $4, %esp
        ret
.LBBtest_2:     # UnifiedReturnBlock
        movl (%esp), %esi
        addl $4, %esp
        ret

Instead of:

test:
        subl $12, %esp
        movl %esi, 8(%esp)
        movl %ebx, 4(%esp)
        movl 16(%esp), %eax
        movl 20(%esp), %ecx
        movl 24(%esp), %edx
        movl 28(%esp), %esi
        cmpl %edx, %eax
        setb %al
        cmpl %esi, %ecx
        setb %bl
        cmove %ax, %bx
        testb %bl, %bl
        je .LBBtest_2   # UnifiedReturnBlock
.LBBtest_1:     # then
        call foo
        movl 4(%esp), %ebx
        movl 8(%esp), %esi
        addl $12, %esp
        ret
.LBBtest_2:     # UnifiedReturnBlock
        movl 4(%esp), %ebx
        movl 8(%esp), %esi
        addl $12, %esp
        ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18330 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Allow date command to be printed in verbose mode
Reid Spencer [Mon, 29 Nov 2004 05:00:33 +0000 (05:00 +0000)]
* Allow date command to be printed in verbose mode
* Get rid of appending -lbz2 and -lz to ExtraLibs now that we don't need
  them any more.
* Fix the dist-check target so that EXTRA_DIST can be defined AFTER the
  include of Makefile.common. This is needed because Makefile.common
  provides variable definitions that may need to be used in computing the
  value of EXTRA_DIST.
* Clean up some "distdir" target output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18329 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd "docs" as a descendable directory (at the end)
Reid Spencer [Mon, 29 Nov 2004 04:57:55 +0000 (04:57 +0000)]
Add "docs" as a descendable directory (at the end)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18328 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* allow doxygen documentation to be enabled/disabled (default off)
Reid Spencer [Mon, 29 Nov 2004 04:56:35 +0000 (04:56 +0000)]
* allow doxygen documentation to be enabled/disabled (default off)
* organize programs we test for properly
* add new programs needed for documentation generation
* Adjust install paths so llvm stuff doesn't muck up /usr/local or /usr if
  $prefix is set to those.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18327 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Get additional configured values into the makefiles
Reid Spencer [Mon, 29 Nov 2004 04:53:50 +0000 (04:53 +0000)]
* Get additional configured values into the makefiles
* Provide support for ENABLE_DOXYGEN
* New tools that documentation generation requires

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18326 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake the check a little quieter.
Reid Spencer [Mon, 29 Nov 2004 04:51:58 +0000 (04:51 +0000)]
Make the check a little quieter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18325 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Make this makefile compliant with LLVM makefile standards
Reid Spencer [Mon, 29 Nov 2004 04:47:35 +0000 (04:47 +0000)]
* Make this makefile compliant with LLVM makefile standards
* Implement optional doxygen doc generation
* Implement HTML and doxygen installation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18324 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMoved --> doxygen.cfg.in
Reid Spencer [Mon, 29 Nov 2004 04:46:12 +0000 (04:46 +0000)]
Moved --> doxygen.cfg.in

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18323 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoReworked branching so we don't handle BAs specially. It just updates the branchTO...
Tanya Lattner [Mon, 29 Nov 2004 04:39:47 +0000 (04:39 +0000)]
Reworked branching so we don't handle BAs specially. It just updates the branchTO regardless of what type of branch it is.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18322 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Get rid of extraneous directories
Reid Spencer [Mon, 29 Nov 2004 04:34:05 +0000 (04:34 +0000)]
* Get rid of extraneous directories
* Ensure things installed to same place are all getting there by using a
  variable to name that place.
* Make sure missing index.html, images and *.css files get installed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18321 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* add llvmc and llvm-ld
Reid Spencer [Mon, 29 Nov 2004 04:32:37 +0000 (04:32 +0000)]
* add llvmc and llvm-ld
* fix the links to not be in an html subdir as that's not how this gets
  installed (anymore).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18320 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdjust this so that doxygen doesn't barf on it.
Reid Spencer [Mon, 29 Nov 2004 03:47:37 +0000 (03:47 +0000)]
Adjust this so that doxygen doesn't barf on it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18319 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Adjust so this falls in line with LLVM Makefile standards.
Reid Spencer [Mon, 29 Nov 2004 03:45:02 +0000 (03:45 +0000)]
* Adjust so this falls in line with LLVM Makefile standards.
* Implement installation of doxygen and html documentation
* Fix it so it works with objdir != srcdir.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18318 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Fix an item list.
Reid Spencer [Mon, 29 Nov 2004 03:43:29 +0000 (03:43 +0000)]
* Fix an item list.
* Add an ENVIRONMENT section to describe LLVM_LIB_SEARCH_PATH

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18317 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a link.
Reid Spencer [Mon, 29 Nov 2004 03:37:54 +0000 (03:37 +0000)]
Add a link.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18316 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFor PR393:
Reid Spencer [Mon, 29 Nov 2004 03:33:22 +0000 (03:33 +0000)]
For PR393:
This file was originally doxygen.cfg, but it needs to be configured to get
the right srcdir/objdir paths for things. This is needed because building
the doxygen will now be part of the install and dist-check targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18315 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFixed bug where instructions in the kernel were not ordered right to preserve depende...
Tanya Lattner [Sun, 28 Nov 2004 23:36:15 +0000 (23:36 +0000)]
Fixed bug where instructions in the kernel were not ordered right to preserve dependencies in a cycle.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18314 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUpdate the test to match the optimization. The optimization can let some
Reid Spencer [Sun, 28 Nov 2004 21:36:52 +0000 (21:36 +0000)]
Update the test to match the optimization. The optimization can let some
casts through, but they will only be sbyte -> ubyte in this test case so
make sure we don't let any other kinds through.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18313 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix for PR454:
Reid Spencer [Sun, 28 Nov 2004 21:31:15 +0000 (21:31 +0000)]
Fix for PR454:
* Make sure we handle signed to unsigned conversion correctly
* Move this visitSetCondInst case to its own method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18312 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThe LLVM bool type shall have 1 byte alignment on PPC.
Chris Lattner [Sun, 28 Nov 2004 21:16:45 +0000 (21:16 +0000)]
The LLVM bool type shall have 1 byte alignment on PPC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18311 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMake DSE potentially more aggressive by being more specific about alloca sizes.
Chris Lattner [Sun, 28 Nov 2004 20:44:37 +0000 (20:44 +0000)]
Make DSE potentially more aggressive by being more specific about alloca sizes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18309 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
Chris Lattner [Sun, 28 Nov 2004 20:30:15 +0000 (20:30 +0000)]
Fix DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18308 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase. The store is not dead here.
Chris Lattner [Sun, 28 Nov 2004 19:54:02 +0000 (19:54 +0000)]
New testcase.  The store is not dead here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18307 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
Chris Lattner [Sun, 28 Nov 2004 17:56:47 +0000 (17:56 +0000)]
Fix SingleSource/UnitTests/2004-11-28-GlobalBoolLayout.c, and hopefully
PR449

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18306 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonew testcase for PR463
Chris Lattner [Sun, 28 Nov 2004 16:47:46 +0000 (16:47 +0000)]
new testcase for PR463

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoFix PR463
Chris Lattner [Sun, 28 Nov 2004 16:45:45 +0000 (16:45 +0000)]
Fix PR463

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18303 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCorrect the RUN line to remove unneeded parameters and make sure the test
Reid Spencer [Sun, 28 Nov 2004 08:15:33 +0000 (08:15 +0000)]
Correct the RUN line to remove unneeded parameters and make sure the test
case is testing the right thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18302 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoTest case for PR454
Reid Spencer [Sun, 28 Nov 2004 04:29:29 +0000 (04:29 +0000)]
Test case for PR454

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18301 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoCompute the firstFileOffset correctly after reading the LLVM symbol table.
Reid Spencer [Sun, 28 Nov 2004 03:13:02 +0000 (03:13 +0000)]
Compute the firstFileOffset correctly after reading the LLVM symbol table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18300 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sun, 28 Nov 2004 01:25:20 +0000 (01:25 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18299 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for PR447
Chris Lattner [Sun, 28 Nov 2004 01:22:49 +0000 (01:22 +0000)]
New testcase for PR447

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18298 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sun, 28 Nov 2004 00:43:59 +0000 (00:43 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18297 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for PR360
Chris Lattner [Sun, 28 Nov 2004 00:39:58 +0000 (00:39 +0000)]
New testcase for PR360

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18296 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sun, 28 Nov 2004 00:09:38 +0000 (00:09 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18295 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for PR244
Chris Lattner [Sun, 28 Nov 2004 00:06:07 +0000 (00:06 +0000)]
New testcase for PR244

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18294 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sat, 27 Nov 2004 23:27:26 +0000 (23:27 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18293 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for PR397
Chris Lattner [Sat, 27 Nov 2004 23:24:23 +0000 (23:24 +0000)]
New testcase for PR397

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18292 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sat, 27 Nov 2004 22:47:08 +0000 (22:47 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18291 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonew testcase
Chris Lattner [Sat, 27 Nov 2004 22:43:51 +0000 (22:43 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18290 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove a dead check at the end of the configure script that was a left over
Reid Spencer [Sat, 27 Nov 2004 22:01:43 +0000 (22:01 +0000)]
Remove a dead check at the end of the configure script that was a left over
from the bzip2 support. This dead check produced the error:
test: -ne: unary operator expected

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18289 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoGet the cache variable name right.
Reid Spencer [Sat, 27 Nov 2004 21:59:57 +0000 (21:59 +0000)]
Get the cache variable name right.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18288 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMove this to the QOI section
Chris Lattner [Sat, 27 Nov 2004 21:33:28 +0000 (21:33 +0000)]
Move this to the QOI section

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18287 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoMention dj
Chris Lattner [Sat, 27 Nov 2004 21:29:43 +0000 (21:29 +0000)]
Mention dj

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18286 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoBug fixed
Chris Lattner [Sat, 27 Nov 2004 20:34:25 +0000 (20:34 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18285 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase
Chris Lattner [Sat, 27 Nov 2004 20:31:59 +0000 (20:31 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18284 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPass in llvmgxx
Chris Lattner [Sat, 27 Nov 2004 20:31:14 +0000 (20:31 +0000)]
Pass in llvmgxx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18283 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd notes
Chris Lattner [Sat, 27 Nov 2004 19:50:58 +0000 (19:50 +0000)]
Add notes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18282 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase for PR424
Chris Lattner [Sat, 27 Nov 2004 19:44:07 +0000 (19:44 +0000)]
New testcase for PR424

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18281 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd some notes
Chris Lattner [Sat, 27 Nov 2004 19:24:06 +0000 (19:24 +0000)]
Add some notes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18280 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd bzip2
Chris Lattner [Sat, 27 Nov 2004 19:20:23 +0000 (19:20 +0000)]
Add bzip2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18279 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThese have been removed
Chris Lattner [Sat, 27 Nov 2004 19:19:44 +0000 (19:19 +0000)]
These have been removed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18278 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove zlib from the llvm tarball. This is only used (in theory by povray-31
Chris Lattner [Sat, 27 Nov 2004 19:18:35 +0000 (19:18 +0000)]
Remove zlib from the llvm tarball.  This is only used (in theory by povray-31
which is part of llvm-test).  If anyone is interested in adding it to llvm-test,
feel free to go for it.

This is part of PR417

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18277 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove zlib from the llvm tarball. This is only used (in theory by povray-31
Chris Lattner [Sat, 27 Nov 2004 19:18:05 +0000 (19:18 +0000)]
Remove zlib from the llvm tarball.  This is only used (in theory by povray-31
which is part of llvm-test).  If anyone is interested in adding it to llvm-test,
feel free to go for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18276 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWhen merging to alias sets, if they are both must alias, the result is not
Chris Lattner [Sat, 27 Nov 2004 18:37:42 +0000 (18:37 +0000)]
When merging to alias sets, if they are both must alias, the result is not
a must alias set unless all of the pointers in the resultant set are must
aliased together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18275 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoChange interface to this method a bit
Chris Lattner [Sat, 27 Nov 2004 18:37:04 +0000 (18:37 +0000)]
Change interface to this method a bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18274 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoImplement Regression/Transforms/InstCombine/getelementptr_cast.ll, which
Chris Lattner [Sat, 27 Nov 2004 17:55:46 +0000 (17:55 +0000)]
Implement Regression/Transforms/InstCombine/getelementptr_cast.ll, which
occurs many times in crafty

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18273 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoNew testcase
Chris Lattner [Sat, 27 Nov 2004 17:55:20 +0000 (17:55 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18272 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoDon't depend on grep or sed to be portable at all. Just compare against
Reid Spencer [Sat, 27 Nov 2004 06:44:10 +0000 (06:44 +0000)]
Don't depend on grep or sed to be portable at all. Just compare against
static test files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18271 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoPut the expected tables of contents of the test archives into separate
Reid Spencer [Sat, 27 Nov 2004 06:43:03 +0000 (06:43 +0000)]
Put the expected tables of contents of the test archives into separate
files so we don't have to process them at test time at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18270 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoUse grep instead of sed because on Solaris sed doesn't copy null bytes and
Reid Spencer [Sat, 27 Nov 2004 06:27:30 +0000 (06:27 +0000)]
Use grep instead of sed because on Solaris sed doesn't copy null bytes and
it needs to in order for the bug in MacOSX archives to be tested correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18269 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAccommodate the braindead Solaris "diff" that doesn't understand the -q
Reid Spencer [Sat, 27 Nov 2004 06:00:36 +0000 (06:00 +0000)]
Accommodate the braindead Solaris "diff" that doesn't understand the -q
option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18268 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove the ISel->AsmPrinter link via the TargetMachine that was put in
Nate Begeman [Sat, 27 Nov 2004 04:45:11 +0000 (04:45 +0000)]
Remove the ISel->AsmPrinter link via the TargetMachine that was put in
place to help bring up the PowerPC back end on Darwin.  This code is no
longer serves any purpose now that the AsmPrinter does the right thing
all the time printing GlobalValues.  --Cruft.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18267 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd a new interface
Chris Lattner [Fri, 26 Nov 2004 21:36:25 +0000 (21:36 +0000)]
Add a new interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18266 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoProvide size information when checking to see if we can LICM a load, this
Chris Lattner [Fri, 26 Nov 2004 21:20:09 +0000 (21:20 +0000)]
Provide size information when checking to see if we can LICM a load, this
allows us to hoist more loads in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18265 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoWhen evaluating an AA, pass in size info
Chris Lattner [Fri, 26 Nov 2004 21:05:39 +0000 (21:05 +0000)]
When evaluating an AA, pass in size info

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18264 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThere is no reason to store <x,x>, just store <x>.
Chris Lattner [Fri, 26 Nov 2004 20:25:17 +0000 (20:25 +0000)]
There is no reason to store <x,x>, just store <x>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18263 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoThe trick with globals actually works with allocas and malloc too
Chris Lattner [Fri, 26 Nov 2004 20:01:48 +0000 (20:01 +0000)]
The trick with globals actually works with allocas and malloc too

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18262 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoA store or load cannot alias a global if the accessed amount is larger then
Chris Lattner [Fri, 26 Nov 2004 19:20:01 +0000 (19:20 +0000)]
A store or load cannot alias a global if the accessed amount is larger then
the global.

This implements Regression/Analysis/BasicAA/global-size.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18261 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agonew testcase basicaa should handle
Chris Lattner [Fri, 26 Nov 2004 19:19:28 +0000 (19:19 +0000)]
new testcase basicaa should handle

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18260 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoIndicate that PR427 won't be fixed.
Reid Spencer [Thu, 25 Nov 2004 22:43:58 +0000 (22:43 +0000)]
Indicate that PR427 won't be fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18259 91177308-0d34-0410-b5e6-96231b3b80d8

19 years ago* Add features I implemented this release.
Reid Spencer [Thu, 25 Nov 2004 22:38:30 +0000 (22:38 +0000)]
* Add features I implemented this release.
* Wrap long lines at 80 cols
* Indent lists so structure of document is a little more clear
* Make the page HTML 4.01 Strict compliant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18258 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd LLVMbzip2 library, now required.
Reid Spencer [Thu, 25 Nov 2004 20:22:06 +0000 (20:22 +0000)]
Add LLVMbzip2 library, now required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18255 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoRemove HAVE_BZLIB and HAVE_BZIP2. We always have bzip2 now.
Reid Spencer [Thu, 25 Nov 2004 20:21:53 +0000 (20:21 +0000)]
Remove HAVE_BZLIB and HAVE_BZIP2. We always have bzip2 now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18254 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAlways pass -D_GNU_SOURCE to cc1plus
Reid Spencer [Thu, 25 Nov 2004 19:38:51 +0000 (19:38 +0000)]
Always pass -D_GNU_SOURCE to cc1plus

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18253 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAlways pass -D_GNU_SOURCE to cc1
Reid Spencer [Thu, 25 Nov 2004 19:38:39 +0000 (19:38 +0000)]
Always pass -D_GNU_SOURCE to cc1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18252 91177308-0d34-0410-b5e6-96231b3b80d8

19 years agoAdd bzip2 subdirectory
Reid Spencer [Thu, 25 Nov 2004 19:38:28 +0000 (19:38 +0000)]
Add bzip2 subdirectory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18251 91177308-0d34-0410-b5e6-96231b3b80d8