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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Reid Spencer [Thu, 25 Nov 2004 19:38:16 +0000 (19:38 +0000)]
Remove zlib support in favor of our own bzip2 library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18250
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 19:38:05 +0000 (19:38 +0000)]
Adjust to Compressor interface change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18249
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 19:37:42 +0000 (19:37 +0000)]
Restrict the interface to not allow algorithm selection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18248
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 17:13:17 +0000 (17:13 +0000)]
Add some instructions about ranlib'ing the CFE runtime libraries so that
they link faster. This should eventually be codified into the CFE's
makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18247
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 16:12:25 +0000 (16:12 +0000)]
Revise to LLVM makefile standards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18246
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 16:11:36 +0000 (16:11 +0000)]
Initial Version from bzip2 Release 1.0.2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18245
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 09:36:28 +0000 (09:36 +0000)]
Correct the configuration variable used to find the bin directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18244
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 09:32:08 +0000 (09:32 +0000)]
Implement dependent library linking. It is no longer required that -lstdc++
-lstdsup++ no -lc be passed on the command line to llvm linkers if the
progam being linked was compiled with the C/C++ Front End or Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18243
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 09:29:44 +0000 (09:29 +0000)]
Remove blank comment lines for uniformity.
Make sure lines don't exceed 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18242
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 09:08:54 +0000 (09:08 +0000)]
Add a convenience target to build all three modes: Debug, Release, Profile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18241
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 07:28:19 +0000 (07:28 +0000)]
Gack. Actually use the correct variable name in setting the JIT support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18240
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Thu, 25 Nov 2004 07:09:01 +0000 (07:09 +0000)]
Enable optimization suggested by Chris Lattner to not emit reloc stubs for
static global variables whose addresses are taken. This allows us to
convert the following code for taking the address of a static function foo
addis r2, r30, ha16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")
lwz r3, lo16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")(r2)
which also includes linker stub code emitted at the end of the .s file not
shown here, and replace it with this:
addis r2, r30, ha16(l1__2E_foo_2-"L00001$pb")
la r3, lo16(l1__2E_foo_2-"L00001$pb")(r2)
which in addition to not needing linker help, also has no load instruction.
For those not up on PowerPC mnemonics, la is shorthand for add immediate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18239
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 06:33:10 +0000 (06:33 +0000)]
The PPC backend is basically stable, and has a JIT now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18238
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 06:31:42 +0000 (06:31 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18237
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 06:25:13 +0000 (06:25 +0000)]
New testcase for PR451
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18236
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 06:14:45 +0000 (06:14 +0000)]
Fix the build on non ppc machines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18235
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 06:07:42 +0000 (06:07 +0000)]
PR256 fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18234
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 06:03:14 +0000 (06:03 +0000)]
Fix the lib/System/platform link by using proper cached variable name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18233
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 04:51:04 +0000 (04:51 +0000)]
For PR256:
* cache more values
* standardize cache value names
* organize configure script per autoconf recommendations (10 sections)
* Eliminate some redundancies and complexities in the script
* Provide better documentation in the script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18232
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 04:44:46 +0000 (04:44 +0000)]
Cache the value of this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18231
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 04:43:54 +0000 (04:43 +0000)]
Tidy up the indentation. Give the cache variable a proper name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18230
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 04:42:25 +0000 (04:42 +0000)]
Eliminate duplicate "checking" message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18229
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 04:14:54 +0000 (04:14 +0000)]
The JIT works enough
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18228
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 04:11:07 +0000 (04:11 +0000)]
Fix encoding of fsel, fixing olden/power, McCat/bisort and several others.
All of Olden passes now! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18227
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 03:53:44 +0000 (03:53 +0000)]
Fix encoding of fneg instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18226
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 03:40:20 +0000 (03:40 +0000)]
Fix encoding of swari, fixing several programs, including Olden/mst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18225
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 25 Nov 2004 03:33:03 +0000 (03:33 +0000)]
Make the check print something, give the cache var an llvm specific name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18224
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Nov 2004 00:33:57 +0000 (00:33 +0000)]
There is not a 1-1 mappign between llvm blocks and PPC blocks, do not use
LLVM blocks as the keys for the branch rewriter. This fixes treeadd and
many other programs with the JIT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18223
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 24 Nov 2004 22:30:08 +0000 (22:30 +0000)]
* Rename existing relocations to be more specific
* Add relocations for refernces to non-lazy darwin stubs and implement
them correctly.
With this change, we can correctly references external globals, and now
all but two UnitTests and all but 1 Regression/C tests pass.
More importantly, bugpoint-jit will start giving us useful testcases,
instead of always telling us that references to external globals don't
work :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18222
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Wed, 24 Nov 2004 21:53:14 +0000 (21:53 +0000)]
Add the same optimization that we do loading from fixed alloca slots to
storing to fixed alloca slots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18221
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 24 Nov 2004 21:01:46 +0000 (21:01 +0000)]
Write CompilationCallback as an explicit assembly stub to avoid getting GCC's
prolog.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18220
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 24 Nov 2004 18:00:02 +0000 (18:00 +0000)]
When rewriting the original call instruction, make sure to rewrite it to
call the right address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18213
91177308-0d34-0410-b5e6-
96231b3b80d8