Commit Graph

3115 Commits

Author SHA1 Message Date
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
Vikram S. Adve
60f5606f5f Don't build Debug/ versions when ENABLE_OPTIMIZED is on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3216 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:34:12 +00:00
Chris Lattner
be1ecf6050 Fix bug: test/Regression/Transforms/GCSE/2002-05-21-NoSharedDominator.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3215 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 18:06:01 +00:00
Chris Lattner
9ce231f3ae Implement dominator checking in the verifier, so that we check that all
defintiions dominate their uses


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3214 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 17:37:08 +00:00
Chris Lattner
a915ef0fc0 Fix bug: test/Regression/Other/2002-08-02-DomSetProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3213 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:51:27 +00:00
Chris Lattner
caa27e2814 Add a note about where to put miscompilation tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3212 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:44:09 +00:00
Chris Lattner
4c9df7c619 Split dominance calculation and post dominance calculation stuff
Dominance calculation goes to VMCore library to be used by Verifier.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3210 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:43:03 +00:00
Chris Lattner
f201495f27 New testcase for dominator problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3209 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:41:21 +00:00
Chris Lattner
e7e764ca77 The verify pass is implicit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3208 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:39:18 +00:00
Chris Lattner
20f15aa8fb New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3207 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:26:08 +00:00
Chris Lattner
50d29c9278 Tweak makefile after moving
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3205 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-02 16:10:24 +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
51ed58d8af Fix makefile to work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3203 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:50:54 +00:00
Chris Lattner
d86cbea0fb Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3202 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:50:03 +00:00
Chris Lattner
92ae901d9e Make testcase legal LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3201 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:48:21 +00:00
Chris Lattner
cc8d8fb676 Remove unneccesary #inlcude
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3200 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:01:02 +00:00
Chris Lattner
ca0a1f7d49 Enhance -time-passes to be more detailed and useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3199 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 19:33:09 +00:00
Vikram S. Adve
a4704045e8 Bug fix: incorrect SAVE instruction when using register for stack size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3198 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 14:26:11 +00:00
Vikram S. Adve
747b3bdc85 Feature test for stack size bigger than immed. field of SAVE instruction.
Also tests code generation for code with mixed indices.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3197 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 14:21:05 +00:00
Chris Lattner
2fd5b3da1e Reorder tool building sequence to more closely match the reality of what
is being worked on the most.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3196 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 00:01:33 +00:00
Chris Lattner
fc94446777 Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3195 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 23:56:44 +00:00
Chris Lattner
fdd0fba013 NEw testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3194 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 23:54:29 +00:00
Chris Lattner
280b09b178 Implement the other half of a feature advertised by OperandConvertableToType.
This fixes bug: test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3193 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 22:31:34 +00:00
Chris Lattner
1917e95cf0 Cleanup Makefile a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3192 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:32:05 +00:00
Vikram S. Adve
c190c01a9f Just improved comments and assertions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3191 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:13:31 +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
Vikram S. Adve
1e60669d3b Add a missing case: converting float/double to unsigned integer types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3188 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 21:01:34 +00:00
Chris Lattner
8633a487c7 Changes to be GCC3.1 friendly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3187 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 19:32:14 +00:00
Chris Lattner
7541b89092 Changes to be GCC3.1 friendly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3186 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 19:32:12 +00:00
Chris Lattner
1b0a63fa64 *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3185 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 19:32:01 +00:00
Chris Lattner
49af5e4131 Changes to be GCC 3.1 friendly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3184 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 19:31:59 +00:00
Chris Lattner
7a40d6db08 We need iostream in PassManagerT.h to use cerr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3183 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 18:04:17 +00:00
Chris Lattner
e540dda536 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3182 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 17:54:24 +00:00
Chris Lattner
3fb21e5bb5 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3181 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 17:52:36 +00:00
Chris Lattner
8aaee324c9 Testcase that was triggering an incorrect assertion failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3180 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 17:39:38 +00:00
Chris Lattner
134c316d2b Verify pass has been run for a long time now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3179 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 17:39:16 +00:00
Chris Lattner
dadd49bdb8 Add new -only-print-main-ds option that causes mains ds graph to be
printed, but no others.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3178 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 17:15:40 +00:00
Chris Lattner
f9e173e85a Change command line option message on -q to make it more accurate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3177 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 16:52:49 +00:00
Chris Lattner
d16714b5ed Fix bug that was causing problems for lli
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3176 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 16:29:43 +00:00
Chris Lattner
01c7f6d1c7 Remove obsolete, confusing, method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3175 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-31 01:45:02 +00:00
Chris Lattner
aff78984db This testcase is independant of varargsness
Simplify.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3174 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:24:07 +00:00
Vikram S. Adve
358fc38d3b Add GlobalDSGraph -- a common graph that holds externally visible nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3173 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:08:08 +00:00
Vikram S. Adve
dfd2f32bf7 Print globals graph after either the BU or the TD pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3172 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:07:26 +00:00
Vikram S. Adve
aaeee75af8 This file implements the top-down propagation pass for data structure graphs.
Also, we now use a separate globals graph to hold externally visible nodes.
This changes both the bottom-up and top-down propagation so that
globals and other external objects do not have to appear in every
function, but only in functions in which they are referenced or
they can be used to access something else that is referenced.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3171 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:06:40 +00:00
Vikram S. Adve
355e2ca1f4 Use a separate globals graph to hold externally visible nodes.
This changes both the bottom-up and top-down propagation so that
globals and other external objects do not have to appear in every
function, but only in functions in which they are referenced or
they can be used to access something else that is referenced.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3170 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:05:22 +00:00
Vikram S. Adve
3b43b772e6 Add GlobalDSGraph -- a common graph that holds externally visible nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3169 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 22:02:04 +00:00