Commit Graph

15880 Commits

Author SHA1 Message Date
Reid Spencer
b2e4cd645a 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
2004-11-28 21:36:52 +00:00
Reid Spencer
6731d5c494 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
2004-11-28 21:31:15 +00:00
Chris Lattner
9d0087e043 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
2004-11-28 21:16:45 +00:00
Chris Lattner
8305a64dce 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
2004-11-28 20:44:37 +00:00
Chris Lattner
eaf8f9c667 Fix DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18308 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 20:30:15 +00:00
Chris Lattner
f4a0e5093c 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
2004-11-28 19:54:02 +00:00
Chris Lattner
63eb93025d 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
2004-11-28 17:56:47 +00:00
Chris Lattner
96d7dac55f new testcase for PR463
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 16:47:46 +00:00
Chris Lattner
7891593359 Fix PR463
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18303 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 16:45:45 +00:00
Reid Spencer
2ded5d0053 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
2004-11-28 08:15:33 +00:00
Reid Spencer
d3938b14ea Test case for PR454
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18301 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 04:29:29 +00:00
Reid Spencer
8dde18fc50 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
2004-11-28 03:13:02 +00:00
Chris Lattner
04cf0c29a2 Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18299 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 01:25:20 +00:00
Chris Lattner
a17138424f New testcase for PR447
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18298 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 01:22:49 +00:00
Chris Lattner
87c74b7ec4 Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18297 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:43:59 +00:00
Chris Lattner
1b64141716 New testcase for PR360
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18296 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:39:58 +00:00
Chris Lattner
9b5d395b41 Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18295 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:09:38 +00:00
Chris Lattner
393db9ddfd New testcase for PR244
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18294 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 00:06:07 +00:00
Chris Lattner
eeeff013cd Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18293 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 23:27:26 +00:00
Chris Lattner
f97bf6dd7a New testcase for PR397
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18292 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 23:24:23 +00:00
Chris Lattner
0db649c24a Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18291 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 22:47:08 +00:00
Chris Lattner
df284a74ec new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18290 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 22:43:51 +00:00
Reid Spencer
3be58f90ec 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
2004-11-27 22:01:43 +00:00
Reid Spencer
92746219db Get the cache variable name right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18288 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 21:59:57 +00:00
Chris Lattner
c33bf812a2 Move this to the QOI section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18287 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 21:33:28 +00:00
Chris Lattner
b7c00759f9 Mention dj
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18286 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 21:29:43 +00:00
Chris Lattner
6bc7e12df5 Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18285 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:34:25 +00:00
Chris Lattner
65de86bac7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18284 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:31:59 +00:00
Chris Lattner
cca50c6b84 Pass in llvmgxx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18283 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 20:31:14 +00:00
Chris Lattner
748e58b281 Add notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18282 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:50:58 +00:00
Chris Lattner
e63632f16f New testcase for PR424
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18281 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:44:07 +00:00
Chris Lattner
a4bcecfb0c Add some notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18280 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:24:06 +00:00
Chris Lattner
d5c36ea395 Add bzip2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18279 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-27 19:20:23 +00:00
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