Chris Lattner
3a03c90085
Add a new testcase for folding an add into a switch
...
llvm-svn: 14586
2004-07-03 00:25:31 +00:00
Chris Lattner
971bbcb43a
Fix Type::isSized() to realize that "{ opaque }" is not sized
...
llvm-svn: 14585
2004-07-02 23:20:17 +00:00
Chris Lattner
49df6cefa5
Do not call getTypeSize on a type that has no size
...
llvm-svn: 14584
2004-07-02 22:55:47 +00:00
Brian Gaeke
317ef96a3a
Modernize example, so that you can paste it right into llvm-as
...
llvm-svn: 14583
2004-07-02 21:08:14 +00:00
Chris Lattner
bee3155b20
Since we are in the department of redundancy department, at least be correct
...
llvm-svn: 14582
2004-07-02 18:41:18 +00:00
Misha Brukman
4308baa0f1
Add FIXME notes for spilling int/fp regs (need to calculate stack space).
...
llvm-svn: 14581
2004-07-02 17:54:38 +00:00
Misha Brukman
0fdfcf147b
* Wrap long lines
...
* Mention the HTML/man page output from single POD source file
llvm-svn: 14580
2004-07-02 16:23:17 +00:00
Misha Brukman
6c4644b4a9
* Standardize manpage output: program name bold, options italic/emphasized
...
* Make links in SEE ALSO section of manpages short without "the ... manpage"
llvm-svn: 14579
2004-07-02 16:06:19 +00:00
Misha Brukman
763855342b
The HTML documentation is now automatically generated from POD source.
...
llvm-svn: 14578
2004-07-02 15:48:33 +00:00
Misha Brukman
cbbf9a1f8f
* Link to the POD-generated HTML documentation
...
* Updated llvm-abcd to llvm-bcanalyzer
llvm-svn: 14577
2004-07-02 15:46:55 +00:00
Misha Brukman
bbd9759fd6
Make `args' stand out as bold, delete confusing elipsis at the end of cmdline.
...
llvm-svn: 14576
2004-07-02 15:42:20 +00:00
Misha Brukman
064e9b7cf0
HTML links in PODs must be absolute.
...
llvm-svn: 14575
2004-07-02 15:37:53 +00:00
Misha Brukman
0e21722a9f
Simplify wording: `the bugpoint tool' can just become `bugpoint'.
...
llvm-svn: 14574
2004-07-02 15:36:29 +00:00
Misha Brukman
2410a8807e
llvm-abcd has become llvm-bcanalyzer
...
llvm-svn: 14573
2004-07-02 15:32:49 +00:00
Brian Gaeke
f6d2471c5d
Fix use-before-def thinko
...
llvm-svn: 14570
2004-07-02 07:01:31 +00:00
Reid Spencer
f03b63de59
Add a note about implementing interprocedural register allocation.
...
llvm-svn: 14569
2004-07-02 06:27:12 +00:00
Brian Gaeke
dcecac198e
Build llvm-bcanalyzer
...
llvm-svn: 14568
2004-07-02 05:59:20 +00:00
Chris Lattner
a65b4eac3b
Revert patches 1.79 and 1.80 which had to do with dead MBB's. Now that they
...
don't exist, we don't have to pretend to handle them.
llvm-svn: 14567
2004-07-02 05:52:23 +00:00
Chris Lattner
55256dbf9b
Fix potential problems with unreachable basic blocks.
...
Also, while noone's looking, add support for constant expressions. Wait,
I said not to look!
llvm-svn: 14566
2004-07-02 05:49:11 +00:00
Chris Lattner
3594324248
Fix all of those problems that the PPC backend has running 176.gcc :)
...
llvm-svn: 14565
2004-07-02 05:48:42 +00:00
Chris Lattner
6c322ecc31
Remove dead blocks
...
llvm-svn: 14564
2004-07-02 05:46:41 +00:00
Chris Lattner
693244fb33
Add a trivially simple pass to delete unreachable blocks from the CFG. This
...
pass is required to paper over problems in the code generator (primarily
live variables and its clients) which doesn't really have any well defined
semantics for unreachable code.
The proper solution to this problem is to have instruction selectors not
select blocks that are unreachable. Until we have a instruction selection
framework available for use, however, we can't expect all instruction
selector writers to do this. Until then, this pass should be used.
llvm-svn: 14563
2004-07-02 05:46:10 +00:00
Chris Lattner
1661358d7e
Add a new pass for code generators to use
...
llvm-svn: 14562
2004-07-02 05:44:13 +00:00
Chris Lattner
1d6b5f38fe
Make this testcase more interesting
...
llvm-svn: 14561
2004-07-02 05:43:51 +00:00
Brian Gaeke
e1a136fb4b
Get rid of a dead variable, and fix a typo in a comment.
...
llvm-svn: 14560
2004-07-02 05:30:01 +00:00
Brian Gaeke
186e3d1098
Add M_TERMINATOR_FLAG to terminator instructions (branches and returns).
...
Also, the RETURN instructions are not used in the sparcv9 backend.
llvm-svn: 14559
2004-07-02 04:57:37 +00:00
Brian Gaeke
fb894bd864
RETURN instructions are not used in the sparc backend.
...
When in doubt, stamp it out!!
llvm-svn: 14558
2004-07-02 04:57:35 +00:00
Reid Spencer
7efe23752f
llvm-abcd tool name changed to llvm-bcanalyzer: see llvm-bcanalyzer.pod.
...
llvm-svn: 14557
2004-07-02 03:45:32 +00:00
Reid Spencer
b703e0b32f
Podified documentation for the llvm-bcanalyzer tool (nee llvm-abcd).
...
llvm-svn: 14556
2004-07-02 03:44:14 +00:00
Reid Spencer
5780de6219
Name Change: llvm-abcd -> llvm-bcanalyzer
...
llvm-svn: 14555
2004-07-02 03:22:53 +00:00
Misha Brukman
24a0371791
* Follow the PowerPC convention of leaving 24 bytes for linking on the stack.
...
* Also leave space for spilling integer registers (this should be calculated)
llvm-svn: 14554
2004-07-01 21:35:00 +00:00
Misha Brukman
d028593c6e
* Get rid of constant-expr handling code: we use the ConstantExpr lowering pass
...
* Use the SetCC handling code in the format of Brian's V8
* Add FIXMEs where calls to functions are being made without adding them to the
Module first... they cause missing symbols at assembly-time.
llvm-svn: 14553
2004-07-01 21:34:10 +00:00
Misha Brukman
1f3a7f0255
Wrap long line
...
llvm-svn: 14552
2004-07-01 21:27:59 +00:00
Misha Brukman
d575287551
* Do not allocate r0 as we use it indiscriminantly in the instr selector.
...
* Do not define CR register class because we don't (yet) have the i4 type
llvm-svn: 14551
2004-07-01 21:24:50 +00:00
Misha Brukman
fcc59bd0e0
Check if operand has an allocated reg before requesting it.
...
llvm-svn: 14550
2004-07-01 21:09:12 +00:00
Misha Brukman
20709326a1
* Doxygenify comments
...
* Tabs-to-spaces
llvm-svn: 14549
2004-07-01 20:42:00 +00:00
Chris Lattner
80b3aeafc0
Fix broken links
...
llvm-svn: 14548
2004-07-01 20:41:43 +00:00
Brian Gaeke
d4ba0a5721
bug. point. pod.
...
llvm-svn: 14547
2004-07-01 20:29:08 +00:00
Chris Lattner
5b20870830
Add much better assertion checking for load and store insts.
...
Contributed by Vladimir Merzliakov!
llvm-svn: 14546
2004-07-01 20:23:52 +00:00
Chris Lattner
153cd4ed30
Move init methods out of line to enable better assertions, contributed
...
by Vladimir Merzliakov!
llvm-svn: 14545
2004-07-01 20:22:31 +00:00
Brian Gaeke
3785ca3df3
bugpoint command guide has been designated a full-fledged "doc".
...
llvm-svn: 14544
2004-07-01 20:10:40 +00:00
Brian Gaeke
b8a340a3bf
abcd pod document
...
llvm-svn: 14543
2004-07-01 20:07:15 +00:00
Brian Gaeke
cc7cafb371
llvm-nm pod format man page.
...
llvm-svn: 14542
2004-07-01 19:40:36 +00:00
Brian Gaeke
163c87fc32
Make this pass use a more specific debug message than "Processing:".
...
llvm-svn: 14541
2004-07-01 19:27:10 +00:00
Misha Brukman
fa3561c603
Fix grammar: remove `our' as it no longer makes sense.
...
llvm-svn: 14540
2004-07-01 18:34:46 +00:00
Chris Lattner
8a9d11b1bc
This is more of an "llvm team" thing by now
...
llvm-svn: 14539
2004-07-01 18:25:59 +00:00
Misha Brukman
0667a12dcd
llvm-db is in alpha stage, this document is a placeholder.
...
llvm-svn: 14538
2004-07-01 18:00:42 +00:00
Misha Brukman
3121ce052f
Fix links to llvmgcc and llvmgxx
...
llvm-svn: 14537
2004-07-01 17:59:53 +00:00
Misha Brukman
ae8b03362c
gccld enters the Hall of POD.
...
llvm-svn: 14536
2004-07-01 17:53:27 +00:00
Misha Brukman
082fe484ed
Make the text of the link to llvmgxx.html more appropriate: `llvmg++'.
...
llvm-svn: 14535
2004-07-01 17:52:58 +00:00