Chris Lattner
e980c93ebc
Implement dominator checking in the verifier, so that we check that all
...
defintiions dominate their uses
llvm-svn: 3214
2002-08-02 17:37:08 +00:00
Chris Lattner
7c8f92eacc
Fix bug: test/Regression/Other/2002-08-02-DomSetProblem.ll
...
llvm-svn: 3213
2002-08-02 16:51:27 +00:00
Chris Lattner
5a89c835c6
Add a note about where to put miscompilation tests.
...
llvm-svn: 3212
2002-08-02 16:44:09 +00:00
Chris Lattner
829a3f1c3a
Split dominance calculation and post dominance calculation stuff
...
Dominance calculation goes to VMCore library to be used by Verifier.
llvm-svn: 3210
2002-08-02 16:43:03 +00:00
Chris Lattner
3cb4867479
New testcase for dominator problem
...
llvm-svn: 3209
2002-08-02 16:41:21 +00:00
Chris Lattner
ede834ac32
The verify pass is implicit
...
llvm-svn: 3208
2002-08-02 16:39:18 +00:00
Chris Lattner
4749976f52
New test
...
llvm-svn: 3207
2002-08-02 16:26:08 +00:00
Chris Lattner
b4527d9165
Tweak makefile after moving
...
llvm-svn: 3205
2002-08-02 16:10:24 +00:00
Chris Lattner
3b2db5cdbe
Verify is implicit for opt
...
llvm-svn: 3204
2002-08-01 22:26:32 +00:00
Chris Lattner
91a2826c02
Fix makefile to work.
...
llvm-svn: 3203
2002-08-01 20:50:54 +00:00
Chris Lattner
56312feb24
Fix broken testcase
...
llvm-svn: 3202
2002-08-01 20:50:03 +00:00
Chris Lattner
e54367de03
Make testcase legal LLVM
...
llvm-svn: 3201
2002-08-01 20:48:21 +00:00
Chris Lattner
b630b06f0d
Remove unneccesary #inlcude
...
llvm-svn: 3200
2002-08-01 20:01:02 +00:00
Chris Lattner
41280182a6
Enhance -time-passes to be more detailed and useful
...
llvm-svn: 3199
2002-08-01 19:33:09 +00:00
Vikram S. Adve
02b632401c
Bug fix: incorrect SAVE instruction when using register for stack size.
...
llvm-svn: 3198
2002-08-01 14:26:11 +00:00
Vikram S. Adve
1e4ac639ad
Feature test for stack size bigger than immed. field of SAVE instruction.
...
Also tests code generation for code with mixed indices.
llvm-svn: 3197
2002-08-01 14:21:05 +00:00
Chris Lattner
f0389c0e0b
Reorder tool building sequence to more closely match the reality of what
...
is being worked on the most.
llvm-svn: 3196
2002-08-01 00:01:33 +00:00
Chris Lattner
8adb533609
Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
...
llvm-svn: 3195
2002-07-31 23:56:44 +00:00
Chris Lattner
5fefc76529
NEw testcase
...
llvm-svn: 3194
2002-07-31 23:54:29 +00:00
Chris Lattner
b1792282eb
Implement the other half of a feature advertised by OperandConvertableToType.
...
This fixes bug: test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll
llvm-svn: 3193
2002-07-31 22:31:34 +00:00
Chris Lattner
0e29633a76
Cleanup Makefile a bit
...
llvm-svn: 3192
2002-07-31 21:32:05 +00:00
Vikram S. Adve
836a811861
Just improved comments and assertions.
...
llvm-svn: 3191
2002-07-31 21:13:31 +00:00
Chris Lattner
171e39224f
Trim down testcase a bit
...
llvm-svn: 3190
2002-07-31 21:10:11 +00:00
Chris Lattner
d405f843f4
New testcase for level-raise crash inspired by SPEC
...
llvm-svn: 3189
2002-07-31 21:06:29 +00:00
Vikram S. Adve
d5185db5e8
Add a missing case: converting float/double to unsigned integer types.
...
llvm-svn: 3188
2002-07-31 21:01:34 +00:00
Chris Lattner
15ef3929ae
Changes to be GCC3.1 friendly
...
llvm-svn: 3187
2002-07-31 19:32:14 +00:00
Chris Lattner
303fa649e3
Changes to be GCC3.1 friendly
...
llvm-svn: 3186
2002-07-31 19:32:12 +00:00
Chris Lattner
24f5355b1f
*** empty log message ***
...
llvm-svn: 3185
2002-07-31 19:32:01 +00:00
Chris Lattner
fd41c5e71b
Changes to be GCC 3.1 friendly
...
llvm-svn: 3184
2002-07-31 19:31:59 +00:00
Chris Lattner
ed762542ec
We need iostream in PassManagerT.h to use cerr
...
llvm-svn: 3183
2002-07-31 18:04:17 +00:00
Chris Lattner
af02419459
Fix testcase
...
llvm-svn: 3182
2002-07-31 17:54:24 +00:00
Chris Lattner
bc4d9a426e
New testcase
...
llvm-svn: 3181
2002-07-31 17:52:36 +00:00
Chris Lattner
0e0cc7f027
Testcase that was triggering an incorrect assertion failure
...
llvm-svn: 3180
2002-07-31 17:39:38 +00:00
Chris Lattner
256d7343a9
Verify pass has been run for a long time now
...
llvm-svn: 3179
2002-07-31 17:39:16 +00:00
Chris Lattner
d376feeb74
Add new -only-print-main-ds option that causes mains ds graph to be
...
printed, but no others.
llvm-svn: 3178
2002-07-31 17:15:40 +00:00
Chris Lattner
0e8dd86318
Change command line option message on -q to make it more accurate
...
llvm-svn: 3177
2002-07-31 16:52:49 +00:00
Chris Lattner
e6e1bc4719
Fix bug that was causing problems for lli
...
llvm-svn: 3176
2002-07-31 16:29:43 +00:00
Chris Lattner
53d5b3111d
Remove obsolete, confusing, method
...
llvm-svn: 3175
2002-07-31 01:45:02 +00:00
Chris Lattner
7ea2d72484
This testcase is independant of varargsness
...
Simplify.
llvm-svn: 3174
2002-07-30 22:24:07 +00:00
Vikram S. Adve
6162134b47
Add GlobalDSGraph -- a common graph that holds externally visible nodes.
...
llvm-svn: 3173
2002-07-30 22:08:08 +00:00
Vikram S. Adve
abafb80e33
Print globals graph after either the BU or the TD pass.
...
llvm-svn: 3172
2002-07-30 22:07:26 +00:00
Vikram S. Adve
6152aa7f73
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.
llvm-svn: 3171
2002-07-30 22:06:40 +00:00
Vikram S. Adve
b9c05cf65b
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.
llvm-svn: 3170
2002-07-30 22:05:22 +00:00
Vikram S. Adve
8491cdb932
Add GlobalDSGraph -- a common graph that holds externally visible nodes.
...
llvm-svn: 3169
2002-07-30 22:02:04 +00:00
Chris Lattner
a693390c2e
Print the tool name when an error comes from so that I can tell which
...
tool of a pipeline is having issues.
llvm-svn: 3168
2002-07-30 21:43:25 +00:00
Chris Lattner
ea9f0c3c4e
Print the tool name when an error comes from so that I can tell which
...
tool of a pipeline is having issues.
llvm-svn: 3167
2002-07-30 21:43:22 +00:00
Chris Lattner
2223ccb697
Print the tool name when an error comes from so that I can tell which
...
tool of a pipeline is having issues.
llvm-svn: 3166
2002-07-30 19:52:14 +00:00
Chris Lattner
5e3350bca8
Implement new -debug-pass=Arguments option that causes PassManager to
...
print out the command line options for the optimizations it is running.
llvm-svn: 3165
2002-07-30 19:51:02 +00:00
Chris Lattner
372599ed03
Add hooks to get information out of concrete pass manager implementations
...
llvm-svn: 3164
2002-07-30 19:49:39 +00:00
Chris Lattner
f8ca791c68
* Indent class into anonymous namespace, filling up the diff with garbage
...
* Internalize global variables with initializers
* Add new stat to track global variable internalization
* Only count functions that were not internal before in internalized function
count
llvm-svn: 3163
2002-07-30 19:48:44 +00:00