Commit Graph

350 Commits

Author SHA1 Message Date
Chris Lattner
7e38fbe374 Add a basic-aa test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5516 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-09 19:01:00 +00:00
Chris Lattner
df142f0bd0 Build DS-AA tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5482 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-03 21:31:53 +00:00
Chris Lattner
0eef9b31af Initial tests for DS alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5481 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-03 21:31:43 +00:00
Chris Lattner
dc3366749d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5434 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-30 17:07:55 +00:00
Chris Lattner
f3ce8b1a8e ; Testcase reduced from 197.parser by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5406 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-23 02:38:50 +00:00
Chris Lattner
56b6db8eb0 New testcase reduced from 197.parser by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5404 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-23 02:11:29 +00:00
Chris Lattner
c41ab22492 New testcase pointed out by Casey Carter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4934 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-05 22:25:47 +00:00
Chris Lattner
64c8d3cfb7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4703 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-13 06:54:00 +00:00
Chris Lattner
b401e64971 Run local, bu, & td analyses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4670 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 06:41:19 +00:00
Chris Lattner
e9a1cbbfe0 Add new test that causes infinite recursion in bu pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4669 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 06:41:07 +00:00
Chris Lattner
48e989e902 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4667 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-10 03:35:43 +00:00
Chris Lattner
a91f8ca884 Fix predicate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4617 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-08 00:31:27 +00:00
Chris Lattner
1aa11cf08a Add testcase that is fscking twolf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4615 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-08 00:22:07 +00:00
Chris Lattner
a434ae74e7 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4563 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 06:20:53 +00:00
Chris Lattner
5cd95ba4ad New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4553 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-05 21:12:30 +00:00
Chris Lattner
a3c4ba427b Add new getelementptr elimination test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4535 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 16:35:14 +00:00
Chris Lattner
0eaaa56f1f New testcase for malloc promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4533 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 16:18:07 +00:00
Chris Lattner
4d5f10f8d6 Add information about why this testcase fails
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4529 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:16:13 +00:00
Chris Lattner
2b0679ff0b Convert uint gep operands to long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4528 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:09:46 +00:00
Chris Lattner
69afeca154 Convert old style gep index from uint to long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4527 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 06:07:04 +00:00
Chris Lattner
f9415dd8c2 Improve the clean target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4519 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-04 00:33:19 +00:00
Chris Lattner
09e89faf8c Add a testcase cee should eventually pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4484 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-01 17:29:35 +00:00
Vikram S. Adve
1b3b4c5ab0 Use absolute path name for "analyze" since we are changing directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4483 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-01 16:49:10 +00:00
Chris Lattner
db94ca13b8 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4464 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 05:38:19 +00:00
Chris Lattner
f89e7c90c7 Tell cvs to ignore *.dot and *.ps files in this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4463 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 04:59:02 +00:00
Chris Lattner
2230b412f7 New testcase for the possible array merging scenarios
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 04:48:32 +00:00
Chris Lattner
b07a4409c2 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4455 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-31 01:25:13 +00:00
Chris Lattner
6648645559 Update test to use long instead of uint getelementptr subscripts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4280 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-25 22:29:07 +00:00
Chris Lattner
71b6f9d9dc Clean up testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4187 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:39:49 +00:00
Chris Lattner
1b7de965dd Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4185 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:21:42 +00:00
Chris Lattner
30aa0856a9 Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4184 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:20:18 +00:00
Chris Lattner
b12805f795 Cleanup testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4182 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:14:24 +00:00
Chris Lattner
ac79a77c06 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4181 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-15 21:10:53 +00:00
Chris Lattner
5199e1691d Add check to see if opt aborts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4098 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:55:32 +00:00
Chris Lattner
a99fb66d89 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4097 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:37:13 +00:00
Chris Lattner
388f56d7dc Avoid having testcases spit out bytecode on error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4096 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 20:36:54 +00:00
Chris Lattner
6a7096e685 Cleanup testcase a lot to test JUST funcresolve of globals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4095 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 17:44:34 +00:00
Chris Lattner
b58d0d54a1 New testcase for infinite loop that the raise pass is getting into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4087 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-09 00:09:59 +00:00
Chris Lattner
8576bd6220 New testcase for bug that messes up the CWriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4082 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 21:57:49 +00:00
Chris Lattner
b82992827d Make test more interesting by adding dummy phi node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4072 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 19:11:02 +00:00
Chris Lattner
af1b4ad24c Add new testcase for arithmetic shr of -1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4069 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 16:10:35 +00:00
Chris Lattner
2e217a7d96 This test was mistakenly matching 'predecessors' that the new asmwriter
spits out


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4068 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-08 16:09:47 +00:00
Chris Lattner
48f9e6276d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4065 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:32:38 +00:00
Chris Lattner
fd2836ac5f Fix testcase to run correctly, add description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4064 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:25:45 +00:00
Chris Lattner
7b96c8d046 Finally I'm able to distill a testcase for a problem I'm seeing!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4063 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-07 20:05:27 +00:00
Chris Lattner
cacfb31197 Checkin new "feature" test for cee
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4054 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 23:31:09 +00:00
Chris Lattner
19ee34a334 NEw "feature" test that cee should eventually handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4053 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-06 23:05:38 +00:00
Chris Lattner
41a29f2b6f New testcase for bug never checked into CVS, but that I hit during debugging a
new feature


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4039 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-04 23:29:40 +00:00
Chris Lattner
24b7799a10 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4030 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-03 20:06:33 +00:00
Chris Lattner
87d9138f01 New testcase for a problem discovered in the SPECINT gzip benchmark.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4015 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-02 18:32:38 +00:00
Chris Lattner
999b63b453 Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3989 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 19:24:07 +00:00
Chris Lattner
5817b4e117 * Run preheaders pass tests
* Linearize list of directories so I don't have to keep dealing with
  wrapping problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3953 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-26 19:53:02 +00:00
Chris Lattner
0a4e422d07 Checkin the simple features tests for the preheader insertion pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3952 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-26 19:50:11 +00:00
Chris Lattner
04b9d2903e New feature test for something we have done for a long time
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3914 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-24 16:13:20 +00:00
Chris Lattner
d7490bcf9a New testcase that causes SimplifyCFG to assert out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-24 16:02:44 +00:00
Chris Lattner
aaab467e44 Convert to using long indexes instead of uint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3898 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 23:41:53 +00:00
Chris Lattner
a30b70f381 Add some more testcases for things to get optimized away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3896 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 23:39:17 +00:00
Chris Lattner
10b37b6493 New testcase distilled from SPEC vortex benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3894 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 22:31:04 +00:00
Chris Lattner
da37a05774 Run constantmerge tests too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3893 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 22:26:23 +00:00
Chris Lattner
cba39ca9fe Fix testcase to accurately expose bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3890 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 20:04:54 +00:00
Chris Lattner
b9c0d60991 New testcase distilled from SPEC MCF benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3889 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-23 19:54:06 +00:00
Chris Lattner
70019ab03c Checkin old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3855 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 14:37:46 +00:00
Chris Lattner
44404ec89d New regression test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3782 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 21:02:24 +00:00
Chris Lattner
db5e5df43a Convert to use long indexes instead of uint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3781 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-17 20:47:46 +00:00
Chris Lattner
47287be7dc Run the cee pass tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3765 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:09:11 +00:00
Chris Lattner
876a75c79e Checking testcases for cee pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3764 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-16 19:08:36 +00:00
Chris Lattner
dabb94adc1 Check for cannonicalization of shl X, 1 -> add X, X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3670 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 23:03:10 +00:00
Chris Lattner
2b37c03f8c Clean up pointer using testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3662 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 20:04:19 +00:00
Chris Lattner
544b0dcd14 Remove a testcase that is irrelevant now, fix a pointer adding testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3659 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 19:55:40 +00:00
Chris Lattner
4229be3ce7 New testcase for poitner problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3657 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 19:41:57 +00:00
Chris Lattner
4b635b8316 Run indvars tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3643 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 04:55:36 +00:00
Chris Lattner
7a4e86d20e Add new testcase for broken indvars case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3642 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-10 04:54:44 +00:00
Chris Lattner
5862173c84 Testcase no longer applicable since shifts of pointers are no longer allowed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3629 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-09 03:43:09 +00:00
Chris Lattner
e083a1d695 Eliminate multiply of pointer type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-09 03:42:14 +00:00
Chris Lattner
05eb9581b2 New testcase for a bug identified by Vikram
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3625 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-08 21:37:49 +00:00
Chris Lattner
e4f318c7fc New testcase that tests for array pointer analysis type stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3615 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-08 18:08:36 +00:00
Chris Lattner
72846c2dcd Fix bug in testcase now that load-vn is not built into gcse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:50:41 +00:00
Chris Lattner
92bab83913 Fix broken test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:48:30 +00:00
Chris Lattner
8617b3579b Make sure that setcc is implemented for bools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3575 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-03 20:09:23 +00:00
Chris Lattner
eabb4950bd New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3554 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 23:22:15 +00:00
Chris Lattner
31901f80f8 Test that demorgan's law is instcombined successfully
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3494 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-23 18:31:18 +00:00
Chris Lattner
b81258c278 Add new testcases for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3477 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 21:26:15 +00:00
Chris Lattner
8673e44639 Add a testcase that checks to make sure LICM uses basicaa correctly.
Add another gcse testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3471 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:22:55 +00:00
Chris Lattner
ac39b4ecab Initial testcases for basicaa alias analysis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 17:31:36 +00:00
Chris Lattner
5a3e29c661 Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3460 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:14 +00:00
Chris Lattner
472e8086cc Convert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3459 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:12 +00:00
Chris Lattner
ac2cbb847d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3458 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:05 +00:00
Chris Lattner
0fd5bfd79d Covnert testcases to not use indexed loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3457 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:04 +00:00
Chris Lattner
d92ac5ae01 Add testcase for the not (setcc A, B) case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3418 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 17:11:18 +00:00
Chris Lattner
41ca3f8ee4 Fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3403 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 17:07:02 +00:00
Chris Lattner
dce9427985 New testcase for instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3396 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 15:27:45 +00:00
Chris Lattner
d03de90bb1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3385 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 19:08:52 +00:00
Chris Lattner
09540e2cc5 New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3380 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-18 01:27:10 +00:00
Chris Lattner
09674a297b Add a simple testcase that just uses a CPR instead of a CPR & ConstExpr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3373 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 23:20:37 +00:00
Chris Lattner
4a2211e980 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3372 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:57:52 +00:00
Chris Lattner
22de210b60 Include a basic simple test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3369 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-17 22:36:45 +00:00
Chris Lattner
edf6a84a75 Add new testcase for gep instruction -> get constexpr promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3364 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-16 21:18:21 +00:00
Chris Lattner
9edfe8aa18 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3355 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:38:03 +00:00
Chris Lattner
8decbcbbfe Add a bunch of testcases for cast-of-casts that should be removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3345 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 16:13:29 +00:00
Chris Lattner
8360d0922a Fix testcase to actually test what we think we are
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3338 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 23:01:19 +00:00
Chris Lattner
f39c24cbeb Fix tests that use the now dead not instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3331 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:22 +00:00
Chris Lattner
985792d870 Fix testcases that used to now dead 'not' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3330 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:28:09 +00:00
Chris Lattner
d0cad7a5f5 Change not's to xors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3329 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:26:34 +00:00
Chris Lattner
500888b7e8 Remove illegal test now that not instruction does not exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3312 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:44:00 +00:00
Chris Lattner
3a6c063699 Make sure there is SOME output always so the test is not rerun when unneccesary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3311 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:38:15 +00:00
Chris Lattner
23fbe30bc3 The not instruction is just a specialized form of XOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3310 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:37:04 +00:00
Chris Lattner
ad1023b3cc Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3287 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-12 19:18:49 +00:00
Chris Lattner
42dbd3044c xor x, ALLONES should -> not x
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3285 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:39 +00:00
Chris Lattner
22fae29835 setcc of booleans should always be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3284 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:34:18 +00:00
Chris Lattner
f8e2cf9221 Add more strength reduction testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3283 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-09 23:33:58 +00:00
Chris Lattner
7d20fe3727 Testcase for stuff instcombine should do eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3240 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:30:26 +00:00
Chris Lattner
d3e7929626 Add some more features that we could instcombine away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3239 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:58 +00:00
Chris Lattner
e8535486dc *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3238 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 20:24:45 +00:00
Vikram S. Adve
a1396a163d Run both *.ll and *.c tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3232 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:17:03 +00:00
Vikram S. Adve
6ae7d3c9ec Added expected decomposed sequence in comments, plus a couple of new cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3231 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-03 13:16:47 +00:00
Chris Lattner
7b572eff48 Fix yet another bug in the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3224 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:59:20 +00:00
Chris Lattner
77c1462728 Fix bug in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3223 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:54:05 +00:00
Chris Lattner
4a6e4b30b4 These tests should not run -dce pass to cleanup instcombine.
If instcombine is making dead instructions, ALL that should be used is -die


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3221 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 19:27:58 +00:00
Chris Lattner
c7f9637a9d Add another testcase that isn't failing because of another bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3220 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:48:09 +00:00
Chris Lattner
d656922f9d Change test to really test the cases we can hit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3219 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:47:11 +00:00
Chris Lattner
b01a8d0165 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3218 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:46:53 +00:00
Chris Lattner
5315599b9c Verify is implicit for opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3204 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 22:26:32 +00:00
Chris Lattner
15de8f6f4a Trim down testcase a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3190 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:10:11 +00:00
Chris Lattner
69cea5424b New testcase for level-raise crash inspired by SPEC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3189 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:06:29 +00:00
Chris Lattner
72de9ae46b Test that logical operators are correctly constant propogated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3152 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 16:18:38 +00:00
Chris Lattner
3f6496ab11 Oops, fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3139 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:49:42 +00:00
Chris Lattner
9559ac2876 NEw testcase to handle "yet another" return type mismatch possibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3138 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:34:52 +00:00
Chris Lattner
5922e4734d Trim down testcase, a lot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3136 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:10:05 +00:00
Chris Lattner
e4b733f31c Reduce testcase more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3135 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 23:41:21 +00:00
Chris Lattner
0b0554596e Reduce the size of the testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3132 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 22:46:55 +00:00
Chris Lattner
6eea01ed8e Hrm, testcase was checking the wrong pass. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3126 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 21:12:20 +00:00
Chris Lattner
6ea2a07271 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3118 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-29 19:02:49 +00:00
Chris Lattner
dc6c7619da New testcase for bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3025 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-23 18:27:20 +00:00
Chris Lattner
1eeefa268d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2972 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-19 03:51:49 +00:00
Chris Lattner
ebfd1b903b Build globaldce tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2962 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 06:40:31 +00:00
Chris Lattner
4f5e49c20d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2956 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 04:25:11 +00:00
Chris Lattner
e28751f388 New testcases for bug in globaldce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2955 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 04:01:02 +00:00
Chris Lattner
e76c4f6edf New testcase, unanalyzed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2938 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-17 20:04:07 +00:00
Chris Lattner
1ab8425c1c New testcase finally identified!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2935 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-17 02:36:02 +00:00
Chris Lattner
4069c8400b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2931 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 21:33:27 +00:00
Chris Lattner
c2c5a6428d Add testcase for raise opportunity missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2930 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 19:10:00 +00:00
Chris Lattner
0af0dff8a0 Bug fix to RUN line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2923 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 18:02:43 +00:00
Chris Lattner
b39df57bf3 New testcase distilled from olden-tsp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2919 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-16 17:32:17 +00:00
Chris Lattner
14329b1b51 New testcase for problem effecting mst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2848 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-09 19:41:21 +00:00
Chris Lattner
3eaf59b8bc Build all subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2780 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-25 16:16:20 +00:00
Chris Lattner
f49764070d Basic test of the inlinr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2767 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 17:46:05 +00:00
Chris Lattner
578cf90040 Testcase for unimplemented feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2766 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 17:45:37 +00:00
Chris Lattner
5454f82af2 New testcase that is a distilled form of the other one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2752 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-28 21:29:28 +00:00
Chris Lattner
1303b5d3cb New testcase that crashes ADCE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2751 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-28 21:22:46 +00:00
Chris Lattner
77ff8fa9f9 Testcases to show what -funcresolve does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2744 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-24 21:27:41 +00:00