Chris Lattner
efd0149de9
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 21:03:35 +00:00
Misha Brukman
171b59d2d6
Do not mention Chris in public Makefiles
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15591 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:23:44 +00:00
Misha Brukman
bb739ddeff
Shorten comment header to 80 cols
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15590 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:13:14 +00:00
Misha Brukman
1757ae991f
* Remove UIUC-specific comment
...
* Make header comment span 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15589 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 20:07:44 +00:00
Misha Brukman
22e9e33949
Add note about AIX/PowerPC with disk space requirements. Wrap long line.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15588 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:57:01 +00:00
Misha Brukman
a6d8ab3f9d
Remove Chris-related bytecode-dir comment
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15587 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:51:49 +00:00
Misha Brukman
8124020192
Remove ClassPrefix variable as it's no longer used.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:13:29 +00:00
Misha Brukman
d7a5b2826c
Use the current target name instead of a ClassPrefix.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15585 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 19:10:43 +00:00
Misha Brukman
a964fe5b45
* CFE builds on AIX/PowerPC
...
* Wrap long code lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15584 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 18:37:04 +00:00
Misha Brukman
0b9bbd2244
The (future) SparcV8 JIT would do well to have a class prefix.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15583 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 18:13:09 +00:00
Misha Brukman
eb178c146a
* Use Classname and ClassPrefix instead of hard-coded V9 values
...
* Simplify code and shorten lines by not recomputing values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15582 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:47:45 +00:00
Misha Brukman
0f5702237b
Define the ClassPrefix for SparcV9.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15581 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:46:49 +00:00
Misha Brukman
929072eb04
Define a ClassPrefix for PowerPC.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15580 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:46:26 +00:00
Misha Brukman
665235b9df
Classes need to have a prefix name, so that they can be tacked on to the pieces
...
that TableGen creates for them, e.g. CodeEmitter, AsmPrinter, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15579 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:46:06 +00:00
Misha Brukman
f588548a86
Generate a code emitter for PowerPC as well, this will be used in the JIT.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15578 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:24:32 +00:00
Misha Brukman
4ad7d1bee7
Use instruction formats as defined in the PowerPC ISA manual
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15577 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 17:24:04 +00:00
Reid Spencer
c40ca35c2b
Move information on Configuration files to the ../CompilerDriver.html
...
file since it doesn't belong in the man page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15575 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 03:10:39 +00:00
Reid Spencer
b1254a1247
This is the initial draft of the Compiler Driver documentation. It is not
...
worthy of review at this point. There is much thought and content remaining
to be written.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15574 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 03:08:29 +00:00
Reid Spencer
524a60587d
Fix stack size processing now that the return address isn't an implied
...
push onto the top of the stack like x86, which uses the local area
offset. This will allow the removal of PowerPCPEI.cpp soon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15573 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 01:24:32 +00:00
Chris Lattner
eb67396021
This isn't a bug, it's a missing feature
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15571 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-08 03:33:07 +00:00
Chris Lattner
54970c0328
Fix another really nasty regression that Anshu pointed out. In cases where
...
dangling constant users were removed from a function, causing it to be dead,
we never removed the call graph edge from the external node to the function.
In most cases, this didn't cause a problem (by luck). This should definitely
go into 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15570 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-08 03:29:50 +00:00
Chris Lattner
af8a42445c
Add standard print/dump methods to CallGraph classes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15569 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-08 03:27:49 +00:00
Chris Lattner
68392422e6
Two fixes:
...
1. Fix a REALLY nasty cyclic replacement issue that Anshu discovered, causing
nondeterminstic crashes and memory corruption.
2. For performance, don't go inserting constantexpr casts of GV pointers.
This should definitely go into 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-08 01:30:07 +00:00
Chris Lattner
5e2e27284b
This DEBUG is buggy. comment it out because it's not worth fixing. This
...
should go into 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15567 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-08 01:27:56 +00:00
Reid Spencer
af2f924757
Added information about the configuration file. This is a temporary home
...
for this information as it belongs in a larger document on the subject of
llvmc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15566 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-07 16:30:14 +00:00
Reid Spencer
b814e2d1c0
Get rid of a warning when compiling optimized. Uninitialized variable has
...
been initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15565 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-07 15:19:31 +00:00
Chris Lattner
ecf8afdc20
Ok get rid of the REST of the tabs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15564 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-07 07:18:41 +00:00
Chris Lattner
d555da52f4
Death to tabs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15563 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-07 07:07:57 +00:00
Reid Spencer
f9cdefb46c
Correct spelling mistakes. Wrap lines at 80 columns.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15562 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 22:56:49 +00:00
Reid Spencer
f2edda019c
Various updates suggested by Misha and Chris. Moved material that is
...
aimed more at the comiler writer than the llvmc user later in the document.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15561 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 22:28:47 +00:00
Brian Gaeke
16ca1947fd
dumpSavedState has outlived its usefulness.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15555 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 19:11:43 +00:00
Chris Lattner
3ee14deb32
New testcase for critical 1.3 feature
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15553 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 18:09:02 +00:00
Reid Spencer
be65afbafb
First version of a manual page for the llvmc compiler driver. This tool is
...
being documented before being written to foster discussion about what the
tool should do. Eventually, we'll achieve a decision point at which time
this document forms the requirements for the tool from which it will be
coded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15552 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 16:58:48 +00:00
Alkis Evlogimenos
8fabb621b1
Split assertion to two in order to give better assertion messages.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15543 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 14:33:37 +00:00
Chris Lattner
72bd3341f8
Now without stinky dos newlines!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15537 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 07:45:37 +00:00
Chris Lattner
3ea934668b
Changes commited for Nate Begeman:
...
Use a PowerPC specific prolog epilog inserter to control where spilled
callee save regs are placed on the stack.
Get rid of implicit return address stack slot, save return address reg
(LR) in appropriate slot
Improve code generated for functions that don't have calls or access
globals
Note from Chris: PowerPCPEI will eventually be eliminated, once the
functionality is merged into CodeGen/PrologEpilogInserter.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 06:58:50 +00:00
Brian Gaeke
406e8cbb43
Update the To-Do list according to my notes + assertions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15535 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 04:38:13 +00:00
John Criswell
aaf10ab5a2
Added Louis Gerbarg. Louis is given credit in the CREDITS.TXT file, so I
...
assume Louis also holds copyright.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15534 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 23:46:27 +00:00
Chris Lattner
e58d356fed
More prominantly mention ppc support, more accurately describe its status
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 21:53:13 +00:00
Misha Brukman
94118752af
* Mention PowerPC as new feature, and experimental feature
...
* Wrap long lines to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15532 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 21:04:03 +00:00
John Criswell
2c2ba762a3
Add additional copyright notice for the PowerPC backend.
...
Thanks Nate!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15531 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 20:36:00 +00:00
Brian Gaeke
047e606146
Split out -disable-codegen into -disable-llc and -disable-jit.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15530 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 19:54:59 +00:00
Misha Brukman
f200eee6ac
We now have the PowerPC backend, thanks to Nate Begeman and Luis Gerbarg!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15529 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 19:09:47 +00:00
Misha Brukman
2f947865cb
Simplify makefile by combining all TableGen dependencies into one variable
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15527 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 18:34:15 +00:00
Chris Lattner
84b3e01ac2
while we're at it, make the libraries be on separate lines
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15526 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 18:32:57 +00:00
Misha Brukman
5520bd3839
Lines need to end with \ to make sure they're actually continued
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15525 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 18:31:33 +00:00
Misha Brukman
b9ebe8a303
* Add PowerPC library to LLC
...
* Fit used libraries on a few lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15524 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 18:24:11 +00:00
Misha Brukman
3c7071447c
PowerPC is a real target now.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15522 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 18:22:30 +00:00
Chris Lattner
42b70f30fb
This file is obsolete
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 17:45:32 +00:00
Alkis Evlogimenos
8243976b69
Make GlobalVariable constructor assert when an initializer is of
...
incorrect type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15519 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-05 11:28:34 +00:00