Chris Lattner
e6f8c5a716
Allow globals to be of different const'nesses when we link.
...
This finally resolves PR502, PR450,
and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20135 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:20:28 +00:00
Chris Lattner
5b7dcaa96b
New test, adjust other test.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20134 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:19:36 +00:00
Chris Lattner
23cf18003d
Reinstate this test, it is correct after all.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20133 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:14:11 +00:00
Chris Lattner
2b13055835
This test is invalid
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20131 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:02:30 +00:00
Chris Lattner
f6249261a9
Fix for testcase Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll
...
and PR504.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20129 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 03:26:49 +00:00
Chris Lattner
50237f28c5
new testcase for PR504
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20128 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 03:26:30 +00:00
Chris Lattner
81efd8c026
Actually, this testcase is invalid, the bug is in the C++ FE.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20123 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:18:40 +00:00
Chris Lattner
94ca3fe5ea
New testcase that manyoso found compiling QT 4.0.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20122 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:08:34 +00:00
Chris Lattner
b1241b0aae
Slightly expand on the instructions.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20121 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 21:17:26 +00:00
Chris Lattner
f832f6a667
Bug fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20118 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 19:29:52 +00:00
Chris Lattner
f2884785f3
New testcase for PR501
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20117 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 19:26:06 +00:00
Chris Lattner
c6cf2fbb01
The pool allocator is now the llvm-poolalloc module in public CVS
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20116 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 04:46:58 +00:00
Andrew Lenharth
3e31592dca
fix a bunch of regressions due to call behavior
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20110 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 20:10:38 +00:00
Alkis Evlogimenos
f64ea9d122
Localize globals if they are only used in main(). This replaces the
...
global with an alloca, which eventually gets promoted into a
register. This enables a lot of other optimizations later on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20109 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 18:36:30 +00:00
Tanya Lattner
db40cf1b58
Added new circuit finding alogrithm.
...
Fixed bug in graph so that phi ite diff edges are added.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20108 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 17:02:58 +00:00
Tanya Lattner
4bcb011f96
Allow modsched and local scheduling to both be run.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20107 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 17:02:06 +00:00
Andrew Lenharth
63f2ab2d1b
so, if you beat on it, you too can talk emacs into having a sane indenting policy... Also, optimize many function calls with pc-relative calls (partial prologue skipping for that case coming soon), try to fix the random jumps to strange places problem by pesimizing div et. al. register usage and fixing up GP before using, some calling convention tweaks, and make frame pointer unallocatable (not strickly necessary, but let's go for correctness first)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20106 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 06:25:22 +00:00
Andrew Lenharth
3d261f5ae3
fix fp branch
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20105 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 05:17:38 +00:00
Misha Brukman
f80fc14381
Give props to Brian for V8 backend
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20104 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 02:07:57 +00:00
Misha Brukman
f5024ff76d
* Fix spelling of `volatile'
...
* Align comments with tablegen elements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20103 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-10 01:52:22 +00:00
Chris Lattner
27ae027bc7
This will be moved elsewhere.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20101 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:52:46 +00:00
Misha Brukman
1fc9f8ef0c
* Use doc_code style for blocks of code
...
* Convert < to < in <pre> block
* Use doc_hilite instead of doc_red style
* Put some classes and options in <tt> blocks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20100 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:49:05 +00:00
Misha Brukman
0465e89a70
Do not mention colors in style names, we might want to change styles themselves
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20099 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:47:47 +00:00
Misha Brukman
6d8e153e42
* Use an HTML list <ol> instead of custom superscripts in the platform notes
...
* Reorder software requirements list to show relative importance
* Use superscripts for footnotes in software list rather than "Note 1"
* Use new doc_notes class to separate footnotes from main doc text
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20098 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:38:47 +00:00
Misha Brukman
cbe2aaad7f
Add style to display notes on a different background than the main text
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20097 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 22:36:44 +00:00
Chris Lattner
7db3f52a9f
Turn footnotes into links, make the page validate.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20096 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 21:15:51 +00:00
Chris Lattner
4e06a39057
If needed, this should be in the 'how to compile the cfe' doc.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20095 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 21:07:21 +00:00
Chris Lattner
e1a53a59b3
this should be incorporated into the build
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20094 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 21:05:01 +00:00
Misha Brukman
a892eadacc
* Separate superscript footnotes with a comma, otherwise it's a 2-digit number
...
* Make a URL into an HTML link using anchor tag
* Put code in fixed-width font
* Since the MinGW footnote is significantly more than the rest of the footnotes
combined, it needs to have a border and background color to separate it from
the regular flow of text for readability purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20093 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 21:01:26 +00:00
Chris Lattner
8ccb87fa62
Add instructions for MINGW, contributed by Henrik Bach
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20092 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 20:43:48 +00:00
Chris Lattner
3ac9605109
Don't print a 'Total Execution Time' line for the 'Miscellaneous Ungrouped
...
Timers' section. Since these are random timers in the program it doesn't
make sense to sum them up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20090 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 18:41:32 +00:00
Chris Lattner
fe0343a1cd
Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20089 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 17:45:03 +00:00
Chris Lattner
55d813aef6
New testcase that the asmwriter botches.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20088 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 17:42:24 +00:00
Chris Lattner
6be079491f
Use new edge iterators to simplify some code.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20086 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 03:20:43 +00:00
Chris Lattner
748ca4de2c
Add some iterators that should have come in long ago
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20085 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 03:14:29 +00:00
Chris Lattner
ca94fa21a3
Fix installation of configured headers when objdir != srcdir. Patch
...
contributed by Vladimir Merzliakov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20084 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 02:24:00 +00:00
Andrew Lenharth
445171aaf6
BranchCC, nifty
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20067 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-08 00:40:03 +00:00
Andrew Lenharth
760270da51
fix store issue and an FP conversion (segfault) issue
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20066 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 23:02:23 +00:00
Chris Lattner
bcc70bcb25
IndCallGraphMap is now a pointer to a new'd map.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20065 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 16:09:15 +00:00
Chris Lattner
ddf5a35eed
Hopefully fix the build on Darwin with GCC 3.3
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20064 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 16:09:01 +00:00
Andrew Lenharth
2921916ffc
copytoreg fix
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20063 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 06:31:44 +00:00
Andrew Lenharth
06342c3484
copyfromreg fix
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20062 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 06:21:37 +00:00
Andrew Lenharth
0382401356
fix load bug
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20061 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 05:55:55 +00:00
Andrew Lenharth
a549deb025
more FP load store fixes and Load store simplifications
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20060 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 05:33:15 +00:00
Andrew Lenharth
f311e8b901
clean up load and stores alot
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20059 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 05:18:02 +00:00
Andrew Lenharth
0538034a82
teach all loads and stores about the stack
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20058 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-07 05:07:00 +00:00
Andrew Lenharth
2c9e38c285
prefer FP scratch registers and more check in LowerArguments
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20057 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-06 21:07:31 +00:00
Andrew Lenharth
6583890c2b
fix oopso
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20056 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-06 16:22:15 +00:00
Andrew Lenharth
9e8d1094f2
smarter loads and stores. can now handle base+offset.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20055 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-06 15:40:40 +00:00
Andrew Lenharth
0bc68a87e7
fix build
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20053 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-05 19:46:51 +00:00