Chris Lattner
1cccb6e1e0
These have been removed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18278 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:19:44 +00:00
Chris Lattner
5abdbdc6b8
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
2004-11-27 19:18:35 +00:00
Chris Lattner
de09f3e434
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
2004-11-27 19:18:05 +00:00
Chris Lattner
cc8d524a24
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
2004-11-27 18:37:42 +00:00
Chris Lattner
276636c93b
Change interface to this method a bit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18274 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 18:37:04 +00:00
Chris Lattner
646641e02c
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
2004-11-27 17:55:46 +00:00
Chris Lattner
ef1ef8272b
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18272 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 17:55:20 +00:00
Reid Spencer
e524156f5e
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
2004-11-27 06:44:10 +00:00
Reid Spencer
dc647db39c
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
2004-11-27 06:43:03 +00:00
Reid Spencer
f461ead599
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
2004-11-27 06:27:30 +00:00
Reid Spencer
9df7aea12e
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
2004-11-27 06:00:36 +00:00
Nate Begeman
3330e08888
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
2004-11-27 04:45:11 +00:00
Chris Lattner
07bfa52405
Add a new interface
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18266 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-26 21:36:25 +00:00
Chris Lattner
f3e1d6977e
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
2004-11-26 21:20:09 +00:00
Chris Lattner
1ed80b66b1
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
2004-11-26 21:05:39 +00:00
Chris Lattner
15ee8adb00
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
2004-11-26 20:25:17 +00:00
Chris Lattner
4e61676b56
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
2004-11-26 20:01:48 +00:00
Chris Lattner
0a1ac907c3
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
2004-11-26 19:20:01 +00:00
Chris Lattner
4e4f7312e0
new testcase basicaa should handle
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18260 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-26 19:19:28 +00:00
Reid Spencer
043e4b1084
Indicate that PR427 won't be fixed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18259 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 22:43:58 +00:00
Reid Spencer
4f86f9c23b
* 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
2004-11-25 22:38:30 +00:00
Reid Spencer
bf714df962
Add LLVMbzip2 library, now required.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18255 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 20:22:06 +00:00
Reid Spencer
4a41586769
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
2004-11-25 20:21:53 +00:00
Reid Spencer
07accb5a60
Always pass -D_GNU_SOURCE to cc1plus
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18253 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 19:38:51 +00:00
Reid Spencer
c702fa3ff0
Always pass -D_GNU_SOURCE to cc1
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18252 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 19:38:39 +00:00
Reid Spencer
c48c103c33
Add bzip2 subdirectory
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18251 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 19:38:28 +00:00
Reid Spencer
f6a0acd64a
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
2004-11-25 19:38:16 +00:00
Reid Spencer
84472d6e3c
Adjust to Compressor interface change
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18249 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 19:38:05 +00:00
Reid Spencer
50b0421caa
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
2004-11-25 19:37:42 +00:00
Reid Spencer
f99e59a92c
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
2004-11-25 17:13:17 +00:00
Reid Spencer
bc98a64b2a
Revise to LLVM makefile standards.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18246 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 16:12:25 +00:00
Reid Spencer
26eda77f1f
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
2004-11-25 16:11:36 +00:00
Reid Spencer
1945a11249
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
2004-11-25 09:36:28 +00:00
Reid Spencer
53c4c5672c
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
2004-11-25 09:32:08 +00:00
Reid Spencer
719012d625
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
2004-11-25 09:29:44 +00:00
Reid Spencer
df561f4ab3
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
2004-11-25 09:08:54 +00:00
Reid Spencer
efbe40ada6
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
2004-11-25 07:28:19 +00:00
Nate Begeman
d4c8bea47f
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
2004-11-25 07:09:01 +00:00
Chris Lattner
4f7ac4c76c
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
2004-11-25 06:33:10 +00:00
Chris Lattner
4df69b8352
Bug fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18237 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:31:42 +00:00
Chris Lattner
fb0ac971fa
New testcase for PR451
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18236 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:25:13 +00:00
Chris Lattner
fde839b4ff
Fix the build on non ppc machines
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18235 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:14:45 +00:00
Reid Spencer
7409d1c867
PR256 fixed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18234 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 06:07:42 +00:00
Reid Spencer
edd01b9ec5
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
2004-11-25 06:03:14 +00:00
Reid Spencer
5e1d9a5f6e
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
2004-11-25 04:51:04 +00:00
Reid Spencer
1ac1d4049e
Cache the value of this test.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18231 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 04:44:46 +00:00
Reid Spencer
4f5f1406fd
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
2004-11-25 04:43:54 +00:00
Reid Spencer
898ae19319
Eliminate duplicate "checking" message.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18229 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 04:42:25 +00:00
Chris Lattner
2a0c0dff0b
The JIT works enough
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18228 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25 04:14:54 +00:00
Chris Lattner
5cbf3bc202
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
2004-11-25 04:11:07 +00:00