Chris Lattner
55d3b0d266
Avoid calling LLVM "Strongly typed"
...
llvm-svn: 2785
2002-06-25 20:20:08 +00:00
Anand Shukla
f1aafa4236
Added setSuccessor() method to terminator instructions
...
llvm-svn: 2784
2002-06-25 20:17:40 +00:00
Chris Lattner
268e8dd791
New testcase
...
llvm-svn: 2783
2002-06-25 19:53:12 +00:00
Chris Lattner
daf228fe8b
Add borders to truth tables
...
llvm-svn: 2782
2002-06-25 18:06:50 +00:00
Chris Lattner
d8f8ede5eb
Minor tuning and fleshing out of the language reference.
...
llvm-svn: 2781
2002-06-25 18:03:17 +00:00
Chris Lattner
7965113d22
Build all subdirectories
...
llvm-svn: 2780
2002-06-25 16:16:20 +00:00
Chris Lattner
113f4f4609
MEGAPATCH checkin.
...
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2779
2002-06-25 16:13:24 +00:00
Chris Lattner
7076ff29ed
MEGAPATCH checkin.
...
For details, See: docs/2002-06-25-MegaPatchInfo.txt
llvm-svn: 2778
2002-06-25 16:13:21 +00:00
Chris Lattner
fda72b1aad
*** empty log message ***
...
llvm-svn: 2777
2002-06-25 16:12:52 +00:00
Chris Lattner
6e3c5fada6
Description of a large patch that I checked in
...
llvm-svn: 2776
2002-06-25 16:09:22 +00:00
Chris Lattner
5aa3a0779e
Simplify the code that adds passes so compilation can stop after any step
...
llvm-svn: 2775
2002-06-25 15:57:43 +00:00
Chris Lattner
f8b0668cc1
* Update with MegaPatch
...
* Fix various bugs
llvm-svn: 2774
2002-06-25 15:57:03 +00:00
Chris Lattner
069a795940
* Update to work with Megapatch
...
* Add two new checks:
* PHI nodes must be the first thing in a basic block, all grouped together
* All basic blocks should only end with terminator insts, not contain them
llvm-svn: 2773
2002-06-25 15:56:27 +00:00
Chris Lattner
2ae9cda097
Remove DynamicConstantMerge pass, because it did not fit in with the Pass
...
system correctly.
llvm-svn: 2772
2002-06-25 15:55:29 +00:00
Chris Lattner
6eeda027c7
Remove "fixers" for problems in GCC generated code that cannot be generated
...
anymore.
llvm-svn: 2771
2002-06-25 15:55:03 +00:00
Anand Shukla
8c1c854022
Relocating Graph.h
...
llvm-svn: 2770
2002-06-25 14:28:55 +00:00
Chris Lattner
08dd46a661
Test more thoroughly
...
llvm-svn: 2769
2002-06-24 21:37:08 +00:00
Chris Lattner
0da785168b
Expose the analyzer
...
llvm-svn: 2768
2002-06-24 21:35:50 +00:00
Chris Lattner
e2d7896d9b
Basic test of the inlinr
...
llvm-svn: 2767
2002-06-24 17:46:05 +00:00
Chris Lattner
c917d106aa
Testcase for unimplemented feature
...
llvm-svn: 2766
2002-06-24 17:45:37 +00:00
Chris Lattner
0df3511df9
Checkin descriptive note
...
llvm-svn: 2765
2002-06-24 16:49:55 +00:00
Chris Lattner
5d5824b77a
Mark some stuff as done
...
llvm-svn: 2764
2002-06-10 21:15:48 +00:00
Chris Lattner
18b412df5e
New testcases for verifier
...
llvm-svn: 2763
2002-06-08 17:33:16 +00:00
Chris Lattner
2152e03bfd
Fix constness
...
llvm-svn: 2762
2002-06-05 18:11:37 +00:00
Chris Lattner
c0b158b94d
Fix Constness problems
...
llvm-svn: 2761
2002-06-05 18:08:26 +00:00
Chris Lattner
0a5aca621a
Fix const problems
...
llvm-svn: 2760
2002-06-05 17:55:27 +00:00
Chris Lattner
64802e4db8
Fix constness problem
...
llvm-svn: 2759
2002-06-05 17:49:40 +00:00
Chris Lattner
b469cf8361
Fix constness problems now that the cast operators preserve the constness
...
of their argument
llvm-svn: 2758
2002-06-05 17:38:28 +00:00
Chris Lattner
8cb1dfbdc9
* Be more typesafe: cast<x> now no longer discards constness
...
* The newly installed version of Bison now really likes there to be ;'s
after productions. Add them to avoid tons of warnings.
llvm-svn: 2757
2002-06-04 21:58:56 +00:00
Chris Lattner
070cf77a40
Disable debugging output
...
llvm-svn: 2756
2002-06-04 03:09:57 +00:00
Chris Lattner
2db70cea7c
*** empty log message ***
...
llvm-svn: 2755
2002-06-03 22:10:52 +00:00
Chris Lattner
e7779b56a0
Allow const bb's to be checked for containment in a loop
...
llvm-svn: 2754
2002-06-03 22:10:48 +00:00
Chris Lattner
194138cd08
Avoid deleting individual instructions until AFTER dead blocks have dropped
...
their references. This fixes bug:
test/Regression/Transforms/ADCE/2002-05-28-Crash*.ll
llvm-svn: 2753
2002-05-28 21:38:16 +00:00
Chris Lattner
7817cd6833
New testcase that is a distilled form of the other one
...
llvm-svn: 2752
2002-05-28 21:29:28 +00:00
Chris Lattner
d4eaa7e14c
New testcase that crashes ADCE
...
llvm-svn: 2751
2002-05-28 21:22:46 +00:00
Chris Lattner
6457590f1b
Simplify the interface to local dce and constprop
...
llvm-svn: 2750
2002-05-26 20:18:35 +00:00
Chris Lattner
ab038d44b0
Simplify the interface to local DCE and Constant prop
...
llvm-svn: 2749
2002-05-26 20:18:18 +00:00
Chris Lattner
2904f44693
Support opaque type printing a little bit at least
...
llvm-svn: 2748
2002-05-26 20:17:54 +00:00
Chris Lattner
eef79f1af4
Do not remove type names that contain a .
...
llvm-svn: 2747
2002-05-26 20:17:35 +00:00
Chris Lattner
1eb9e6cc47
Fix "unimplemented features":
...
test/Regression/Transforms/FunctionResolve/retmismatch[12].ll
This makes it much more useful for running benchmarks that are missing
prototypes for some functions.
llvm-svn: 2745
2002-05-24 21:33:26 +00:00
Chris Lattner
b9e7186ade
Testcases to show what -funcresolve does.
...
llvm-svn: 2744
2002-05-24 21:27:41 +00:00
Chris Lattner
a17c1f1735
Run FuncResolve tests
...
llvm-svn: 2743
2002-05-24 21:21:36 +00:00
Chris Lattner
5aa9e3e702
Split the FunctionResolution pass out of CleanGCCOutput.cpp.
...
llvm-svn: 2742
2002-05-24 20:42:13 +00:00
Chris Lattner
e80124df80
Fix comments to reflect reality
...
llvm-svn: 2741
2002-05-24 20:41:51 +00:00
Chris Lattner
e3da2980ad
Support programs that do not #include <malloc.h> or give a full prototype
...
for malloc and free. Lots of crufty benchmarks are using stuff like:
char *malloc();
void free();
to forward declare malloc and free. Now we recognize and raise these forms
llvm-svn: 2740
2002-05-24 20:29:18 +00:00
Chris Lattner
88a600a5fd
New testcase, to be inspected by hand
...
llvm-svn: 2739
2002-05-23 20:58:45 +00:00
Chris Lattner
f08d7436ca
No need to run dce with adce right behind!
...
llvm-svn: 2738
2002-05-23 19:27:50 +00:00
Chris Lattner
450d928d3a
New testcase
...
llvm-svn: 2737
2002-05-23 18:51:27 +00:00
Chris Lattner
c17c38f3cc
Make sure the extracted function has external linkage, so that it doesn't
...
get eliminated by globaldce!
llvm-svn: 2736
2002-05-23 18:36:25 +00:00
Chris Lattner
3f3cf8c9e2
New testcase
...
llvm-svn: 2735
2002-05-23 18:27:08 +00:00