OSDN Git Service
Chris Lattner [Wed, 11 Aug 2004 07:34:50 +0000 (07:34 +0000)]
Fix a case where constantexprs could leak into the PPC isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15661
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:12:04 +0000 (07:12 +0000)]
Remove a bunch of ad-hoc target-specific flags that were only used by the
old asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15660
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:07:14 +0000 (07:07 +0000)]
Remove a dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15659
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 07:02:04 +0000 (07:02 +0000)]
Finally, the entire instruction asmprinter is now generated from tblgen, woo!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15658
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:59:12 +0000 (06:59 +0000)]
Add asmprintergen support for the last X86 instruction that needs it: pcrelative calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15657
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:55:12 +0000 (06:55 +0000)]
This file is long dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15656
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:50:10 +0000 (06:50 +0000)]
Scrunch memoperands, add a few more for floating point memops
Eliminate the FPI*m classes, converting them to use FPI instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15655
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 06:09:55 +0000 (06:09 +0000)]
Move hacks up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15654
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:54:16 +0000 (05:54 +0000)]
Make FPI take asm string and operand list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15653
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:31:07 +0000 (05:31 +0000)]
Nuke the Im*i* patterns, by asmprintergenifying all users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15652
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 05:07:25 +0000 (05:07 +0000)]
X86 instructions that read-modify-write memory are not LLVM two-address instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15651
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 04:31:00 +0000 (04:31 +0000)]
Get rid of the Im8, Im16, Im32 classes, converting more instructions over to
asmprintergeneration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15650
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 04:08:36 +0000 (04:08 +0000)]
Fix minor bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15649
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Wed, 11 Aug 2004 03:30:55 +0000 (03:30 +0000)]
Fix 255.vortex by using getClassB instead of getClass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15648
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:26:39 +0000 (02:26 +0000)]
Remove dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15647
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:25:00 +0000 (02:25 +0000)]
Convert asmprinter to new style of instruction printer
Start asmprintergen'ifying machine instrs with memory operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15646
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:23:23 +0000 (02:23 +0000)]
change how we invoke the printer. Instead of passing in the MO directly,
pass in the MI, operand number, and the type of the operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15645
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 02:22:39 +0000 (02:22 +0000)]
Start parsing more information from the Operand information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15644
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 01:53:58 +0000 (01:53 +0000)]
Remove special case hacks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15643
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 01:53:34 +0000 (01:53 +0000)]
Fill out immediate operand classes, add a new Operand class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15642
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 00:50:51 +0000 (00:50 +0000)]
Fix InstCombine/2004-08-10-BoolSetCC.ll, a bug that is miscompiling
176.gcc. Note that this is apparently not the only bug miscompiling gcc
though. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15639
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 11 Aug 2004 00:49:50 +0000 (00:49 +0000)]
New testcase that instcombine is getting wrong
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15637
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:11:25 +0000 (00:11 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts, Part III: the rest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15636
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:10:41 +0000 (00:10 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts: Part II: 64-bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15635
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 11 Aug 2004 00:09:42 +0000 (00:09 +0000)]
Breaking up the PowerPC target into 32- and 64-bit subparts, Part I: 32-bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15634
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 23:10:25 +0000 (23:10 +0000)]
Implement new constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15633
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 23:10:21 +0000 (23:10 +0000)]
Add new constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15632
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 22:47:03 +0000 (22:47 +0000)]
Renamed PPC32 (namespace for regs, opcodes) to PPC to include 64-bit targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15631
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 21:24:44 +0000 (21:24 +0000)]
* Fix file header to use tablegen emacs mode instead of c++
* Wrap long line to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15630
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 21:21:30 +0000 (21:21 +0000)]
This is purely a formatting patch that gets us closer to the mecca of fitting
X86InstrInfo.td into 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15629
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 21:02:13 +0000 (21:02 +0000)]
Drop the first argument of FPI, and asmprinterify fxch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15628
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 20:54:58 +0000 (20:54 +0000)]
Deleted commented-out code as we now get namespace directly, add comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15627
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Tue, 10 Aug 2004 20:42:36 +0000 (20:42 +0000)]
Fix casts of float to unsigned long
Replace STDX (store 64 bit int indexed) with STFDX (store double indexed)
Fix latent bug in indexed load generation
Generate indexed loads and stores in many more cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15626
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 20:28:13 +0000 (20:28 +0000)]
Fix file header comment: update filename, set tablegen emacs mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15625
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 20:17:41 +0000 (20:17 +0000)]
This purely mechanical patch gives the "I" tblgen class operand list and asm
string operands, and adjusts all users to pass them in instead of using II.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15624
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 19:18:51 +0000 (19:18 +0000)]
Fix a copy & paste error .. correct the description of the program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15623
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 19:14:36 +0000 (19:14 +0000)]
Adding a simple example of how to use the JIT.
Contributed by Valery A. Khamenya. THANKS, Valery!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15622
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 19:06:36 +0000 (19:06 +0000)]
Convert Ii32 instructions over to use the asmprinter generator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15621
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 19:03:31 +0000 (19:03 +0000)]
DForm 5/6 extended mneumonics take 3 arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15620
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:31:01 +0000 (18:31 +0000)]
Use the target name instead of hard-coding SparcV9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15616
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:15:31 +0000 (18:15 +0000)]
* Instruction definitions moved to SparcV9InstrInfo.td for consistency
* Defined PHI instruction and SparcV9 subclass of Target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15615
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:14:04 +0000 (18:14 +0000)]
Renamed SparcV9_Reg.td -> SparcV9RegisterInfo.td for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15614
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 18:07:55 +0000 (18:07 +0000)]
Fix DForm_4: format is `op r, r, i'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15613
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 17:37:14 +0000 (17:37 +0000)]
Fix comment header, specify type of file `tablegen'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15612
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:40:56 +0000 (16:40 +0000)]
Finish HTMLizing the document. Configuration section is very crufty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15611
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:38:18 +0000 (16:38 +0000)]
Fixed some spellos and grammaros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15610
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:29:18 +0000 (16:29 +0000)]
Move CompilerDriver.h here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15609
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:27:08 +0000 (16:27 +0000)]
Initial makefile for the LLVM Compiler Driver.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15608
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 10 Aug 2004 16:26:01 +0000 (16:26 +0000)]
First "do nothing" version of the LLVM Compiler Driver. This version just
processes command line arguments and allows --help to be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15607
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 16:22:02 +0000 (16:22 +0000)]
Convert the Ii16 instructions over
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15606
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 16:09:54 +0000 (16:09 +0000)]
Convert all Ii8 instructions over to the autogenerated asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15605
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 10 Aug 2004 15:29:15 +0000 (15:29 +0000)]
Define the target name so we can use it via TableGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15604
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 15:05:18 +0000 (15:05 +0000)]
This was a good idea, but until this does not break the build of
lib/Target/Sparc, we should not use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15603
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Aug 2004 00:19:16 +0000 (00:19 +0000)]
Paper over CBackend/2004-08-09-va-end-null.ll
Note that this indicates a serious problem with the way we are emitting varargs,
but this should not be properly fixed until after 1.3.
This patch SHOULD go into 1.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15602
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 23:56:17 +0000 (23:56 +0000)]
This testcase causes the CBE to generate code that is not legal C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15601
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 23:03:59 +0000 (23:03 +0000)]
Stub definition of the PowerPC CodeEmitter class; this isn't functional (yet).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15600
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 22:27:45 +0000 (22:27 +0000)]
CodePrinter -> AsmPrinter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15599
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 21:05:48 +0000 (21:05 +0000)]
Fix InstCombine/2004-08-09-RemInfLoop.llx
This should go into the 1.3 branch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15593
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Aug 2004 21:03:35 +0000 (21:03 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15592
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 20:23:44 +0000 (20:23 +0000)]
Do not mention Chris in public Makefiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15591
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 20:13:14 +0000 (20:13 +0000)]
Shorten comment header to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15590
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 20:07:44 +0000 (20:07 +0000)]
* 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
Misha Brukman [Mon, 9 Aug 2004 19:57:01 +0000 (19:57 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 19:51:49 +0000 (19:51 +0000)]
Remove Chris-related bytecode-dir comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15587
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 19:13:29 +0000 (19:13 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 19:10:43 +0000 (19:10 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 18:37:04 +0000 (18:37 +0000)]
* 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
Misha Brukman [Mon, 9 Aug 2004 18:13:09 +0000 (18:13 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 17:47:45 +0000 (17:47 +0000)]
* 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
Misha Brukman [Mon, 9 Aug 2004 17:46:49 +0000 (17:46 +0000)]
Define the ClassPrefix for SparcV9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15581
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 17:46:26 +0000 (17:46 +0000)]
Define a ClassPrefix for PowerPC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15580
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 9 Aug 2004 17:46:06 +0000 (17:46 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 17:24:32 +0000 (17:24 +0000)]
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
Misha Brukman [Mon, 9 Aug 2004 17:24:04 +0000 (17:24 +0000)]
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
Reid Spencer [Mon, 9 Aug 2004 03:10:39 +0000 (03:10 +0000)]
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
Reid Spencer [Mon, 9 Aug 2004 03:08:29 +0000 (03:08 +0000)]
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
Reid Spencer [Mon, 9 Aug 2004 01:24:32 +0000 (01:24 +0000)]
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
Chris Lattner [Sun, 8 Aug 2004 03:33:07 +0000 (03:33 +0000)]
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
Chris Lattner [Sun, 8 Aug 2004 03:29:50 +0000 (03:29 +0000)]
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
Chris Lattner [Sun, 8 Aug 2004 03:27:49 +0000 (03:27 +0000)]
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
Chris Lattner [Sun, 8 Aug 2004 01:30:07 +0000 (01:30 +0000)]
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
Chris Lattner [Sun, 8 Aug 2004 01:27:56 +0000 (01:27 +0000)]
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
Reid Spencer [Sat, 7 Aug 2004 16:30:14 +0000 (16:30 +0000)]
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
Reid Spencer [Sat, 7 Aug 2004 15:19:31 +0000 (15:19 +0000)]
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
Chris Lattner [Sat, 7 Aug 2004 07:18:41 +0000 (07:18 +0000)]
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
Chris Lattner [Sat, 7 Aug 2004 07:07:57 +0000 (07:07 +0000)]
Death to tabs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15563
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 6 Aug 2004 22:56:49 +0000 (22:56 +0000)]
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
Reid Spencer [Fri, 6 Aug 2004 22:28:47 +0000 (22:28 +0000)]
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
Brian Gaeke [Fri, 6 Aug 2004 19:11:43 +0000 (19:11 +0000)]
dumpSavedState has outlived its usefulness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15555
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Aug 2004 18:09:02 +0000 (18:09 +0000)]
New testcase for critical 1.3 feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15553
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 6 Aug 2004 16:58:48 +0000 (16:58 +0000)]
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
Alkis Evlogimenos [Fri, 6 Aug 2004 14:33:37 +0000 (14:33 +0000)]
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
Chris Lattner [Fri, 6 Aug 2004 07:45:37 +0000 (07:45 +0000)]
Now without stinky dos newlines!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15537
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Aug 2004 06:58:50 +0000 (06:58 +0000)]
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
Brian Gaeke [Fri, 6 Aug 2004 04:38:13 +0000 (04:38 +0000)]
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
John Criswell [Thu, 5 Aug 2004 23:46:27 +0000 (23:46 +0000)]
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
Chris Lattner [Thu, 5 Aug 2004 21:53:13 +0000 (21:53 +0000)]
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
Misha Brukman [Thu, 5 Aug 2004 21:04:03 +0000 (21:04 +0000)]
* 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
John Criswell [Thu, 5 Aug 2004 20:36:00 +0000 (20:36 +0000)]
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
Brian Gaeke [Thu, 5 Aug 2004 19:54:59 +0000 (19:54 +0000)]
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