Anand Shukla [Tue, 9 Jul 2002 19:16:59 +0000 (19:16 +0000)]
Added std:: to mem_fun for 64-bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2845
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jul 2002 18:42:36 +0000 (18:42 +0000)]
Implementing shift left & shift right on pointers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2844
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 9 Jul 2002 16:50:24 +0000 (16:50 +0000)]
Include header in the compiler-neutral location
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2843
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 9 Jul 2002 12:30:29 +0000 (12:30 +0000)]
Added support for printing constant global references to
assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2842
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Tue, 9 Jul 2002 12:04:21 +0000 (12:04 +0000)]
Add makefile-mode flag for emacs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2841
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:37:07 +0000 (23:37 +0000)]
Fix iteration and InsertPos bugs introduced when Chris changed over to ilist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2840
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:34:10 +0000 (23:34 +0000)]
Numerous changes in interface to class SparcRegInfo corresponding to
changes in class MachineRegInfo (see MachineRegInfo.h for details).
Added {LD,ST}[X]FSR instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2839
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:31:24 +0000 (23:31 +0000)]
class MachineCodeForBasicBlock is now an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2838
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:30:59 +0000 (23:30 +0000)]
BA no longer has the unused CC operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2837
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:30:14 +0000 (23:30 +0000)]
Have to save a boolean (setCC) value whenever use is outside the current
basic block.
Mark setCCInstr used as dest. of conditional-move as both a def and a use.
BA instruction no longer has the unused CC argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2836
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:25:17 +0000 (23:25 +0000)]
BA has only one argument.
Added LDFSR, LDXFSR, STFSR and STXFSR.
Fixed operands info for RDCCR, WRCCR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2835
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:23:12 +0000 (23:23 +0000)]
Significant changes to correctly spill CC registers and to correctly
handle conditional move instructions:
-- cpMem<->Reg functions now support CC registers (int and FP) correctly.
Also, cpMem<->Reg functions now return a vector of machine instructions.
-- Scratch registers must be explicitly provided to cpMem<->Reg when
needed, since CC regs need one to be copied to/from memory.
-- CC regs are saved to a scratch register instead of stack.
-- All regs used by a instruction are now recorded in MachineInstr::regsUsed,
since regs used to save values *across* an instruction are not obvious
either from the operands or from the LiveVar sets.
-- An (explicit or implicit) operand may now be both a def and a use.
This is needed for conditional move operations.
So an operand may need spill code both before and after the instruction.
Other changes:
-- Added several get{Class,Type} functions.
-- Added unified-to-local register number conversion.
-- class MachineCodeForBasicBlock is now an annotation on BasicBlock.
-- Suggest/Color methods may modify the MachineInstr (and always did),
so don't make that argument const!
-- Caller-saving code doesn't need its special purpose code for
handling CC registers since cpMem<->Reg handle those correctly now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2834
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:15:32 +0000 (23:15 +0000)]
Significant changes to correctly spill CC registers and to correctly
handle conditional move instructions:
-- cpMem<->Reg functions now support CC registers (int and FP) correctly.
-- Scratch registers must be explicitly provided to cpMem<->Reg when
needed, since CC regs need one to be copied to/from memory.
-- CC regs are saved to a scratch register instead of stack.
-- All regs used by a instruction are now recorded in MachineInstr::regsUsed,
since regs used to save values *across* an instruction are not obvious
either from the operands or from the LiveVar sets.
-- An (explicit or implicit) operand may now be both a def and a use.
This is needed for conditional move operations.
So an operand may need spill code both before and after the instruction.
-- class MachineCodeForBasicBlock is now an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2833
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:07:26 +0000 (23:07 +0000)]
MachineInstr* in vector are not const (and never really were)
because operands may be modified directly to set register.
Also, class MachineCodeForBasicBlock is now an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2832
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:04:31 +0000 (23:04 +0000)]
Rename static struct Initializer to avoid name conflict with BB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2831
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:03:54 +0000 (23:03 +0000)]
Fix printing of BB in dump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2830
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:03:10 +0000 (23:03 +0000)]
Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.h.
This class is now an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2829
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:01:46 +0000 (23:01 +0000)]
MachineInstr::dump() now takes no arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2828
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 23:01:11 +0000 (23:01 +0000)]
Implementation of class MachineCodeForBasicBlock.
Moved here from MachineInstr.cpp to make it an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2827
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:59:23 +0000 (22:59 +0000)]
A single MachineInstr operand may now be both a def and a use,
so additional dep. edges have to be added.
This was needed to correctly handle conditional move instructions!
MachineCodeForBasicBlock is now an annotation on BasicBlock.
Renamed "earliestForNode" to "earliestReadyTimeForNode".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2826
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:56:34 +0000 (22:56 +0000)]
A single MachineInstr operand may now be both a def and a use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2825
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:44:14 +0000 (22:44 +0000)]
cpMem<->Reg functions now support CC registers (int and FP) correctly.
A scratch register has to be provided when needed to do the copy.
Also, cpMem<->Reg functions now return a vector of machine instructions.
Added several get{Class,Type} functions.
Suggest/Color methods may modify the MachineInstr (and always did),
so don't make that argument const!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2824
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:40:34 +0000 (22:40 +0000)]
Interface to class MachineCodeForBasicBlock.
Moved here from MachineInstr.h to make it an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2823
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:39:36 +0000 (22:39 +0000)]
getUsableUniRegAtMI interface simplified slightly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2822
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:38:45 +0000 (22:38 +0000)]
Moved class MachineCodeForBasicBlock to MachineCodeForBasicBlock.{cpp,h}.
An (explicit or implicit) operand may now be both a def and a use.
Also add a set of regs used by each instruction.
dump() no longer takes an optional argument, which doesn't work in gdb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2821
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:34:40 +0000 (22:34 +0000)]
MachineInstr* in vector are not const (and never really were)
because operands may be modified directly to set register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2820
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:33:45 +0000 (22:33 +0000)]
Added two more helper functions for instruction creation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2819
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 8 Jul 2002 22:31:11 +0000 (22:31 +0000)]
Moved MachineCodeForBB to be an annotation on BasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2818
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Mon, 8 Jul 2002 19:37:06 +0000 (19:37 +0000)]
changes BBsorting and oredering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2817
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Mon, 8 Jul 2002 19:36:39 +0000 (19:36 +0000)]
small corrections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2816
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Mon, 8 Jul 2002 19:36:01 +0000 (19:36 +0000)]
changed function numbering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2815
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Wed, 3 Jul 2002 16:52:15 +0000 (16:52 +0000)]
Add new << to allow printing modules by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2814
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:25:25 +0000 (16:25 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2813
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:25:21 +0000 (16:25 +0000)]
Clean up anands patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2812
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:25:07 +0000 (16:25 +0000)]
Strip the symbols out of the bytecode to inflate generated executables less.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2811
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:20:02 +0000 (16:20 +0000)]
YEs, we really do want to sort.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2810
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:19:14 +0000 (16:19 +0000)]
Yes, we REALLY DO want to run the reassociate pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2809
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:12:03 +0000 (16:12 +0000)]
Remove diff-cluttering tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2808
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:08:25 +0000 (16:08 +0000)]
Remove tag that just clutters diffs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2807
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:07:20 +0000 (16:07 +0000)]
Fix anands changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2806
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:04:37 +0000 (16:04 +0000)]
Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2805
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 16:01:15 +0000 (16:01 +0000)]
Fix anand's last checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2804
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 30 Jun 2002 15:50:09 +0000 (15:50 +0000)]
Fix comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2803
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 28 Jun 2002 22:06:39 +0000 (22:06 +0000)]
Cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2802
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 22:07:38 +0000 (22:07 +0000)]
changes for 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2801
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 22:04:00 +0000 (22:04 +0000)]
added include<iostream> for cerr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2800
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:57:48 +0000 (21:57 +0000)]
Changes for 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2799
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:44:44 +0000 (21:44 +0000)]
correcting makefile: incorrectly checked in wrong version earlier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2798
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:43:28 +0000 (21:43 +0000)]
Changes for 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2797
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:29:10 +0000 (21:29 +0000)]
added include<iostream> for cerr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2796
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:18:19 +0000 (21:18 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2795
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:14:58 +0000 (21:14 +0000)]
additions and bug fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2794
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:12:25 +0000 (21:12 +0000)]
added include<iostream> for cerr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2793
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 21:07:58 +0000 (21:07 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2792
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:55:50 +0000 (20:55 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2791
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:44:04 +0000 (20:44 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2790
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:35:19 +0000 (20:35 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2789
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:34:54 +0000 (20:34 +0000)]
minor change in removing endl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2788
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 20:33:28 +0000 (20:33 +0000)]
We must with with GCC 2.95 :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2787
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:22:25 +0000 (20:22 +0000)]
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2786
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 20:20:08 +0000 (20:20 +0000)]
Avoid calling LLVM "Strongly typed"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2785
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 20:17:40 +0000 (20:17 +0000)]
Added setSuccessor() method to terminator instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2784
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 19:53:12 +0000 (19:53 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2783
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 18:06:50 +0000 (18:06 +0000)]
Add borders to truth tables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2782
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 18:03:17 +0000 (18:03 +0000)]
Minor tuning and fleshing out of the language reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2781
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 16:16:20 +0000 (16:16 +0000)]
Build all subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2780
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 16:13:24 +0000 (16:13 +0000)]
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 16:13:21 +0000 (16:13 +0000)]
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 16:12:52 +0000 (16:12 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2777
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 16:09:22 +0000 (16:09 +0000)]
Description of a large patch that I checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2776
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 15:57:43 +0000 (15:57 +0000)]
Simplify the code that adds passes so compilation can stop after any step
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2775
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 15:57:03 +0000 (15:57 +0000)]
* Update with MegaPatch
* Fix various bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2774
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 15:56:27 +0000 (15:56 +0000)]
* 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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2773
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 15:55:29 +0000 (15:55 +0000)]
Remove DynamicConstantMerge pass, because it did not fit in with the Pass
system correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2772
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 25 Jun 2002 15:55:03 +0000 (15:55 +0000)]
Remove "fixers" for problems in GCC generated code that cannot be generated
anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2771
91177308-0d34-0410-b5e6-
96231b3b80d8
Anand Shukla [Tue, 25 Jun 2002 14:28:55 +0000 (14:28 +0000)]
Relocating Graph.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2770
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 Jun 2002 21:37:08 +0000 (21:37 +0000)]
Test more thoroughly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2769
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 Jun 2002 21:35:50 +0000 (21:35 +0000)]
Expose the analyzer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2768
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 Jun 2002 17:46:05 +0000 (17:46 +0000)]
Basic test of the inlinr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2767
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 Jun 2002 17:45:37 +0000 (17:45 +0000)]
Testcase for unimplemented feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2766
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 24 Jun 2002 16:49:55 +0000 (16:49 +0000)]
Checkin descriptive note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2765
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 10 Jun 2002 21:15:48 +0000 (21:15 +0000)]
Mark some stuff as done
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2764
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Jun 2002 17:33:16 +0000 (17:33 +0000)]
New testcases for verifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2763
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Jun 2002 18:11:37 +0000 (18:11 +0000)]
Fix constness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2762
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Jun 2002 18:08:26 +0000 (18:08 +0000)]
Fix Constness problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2761
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Jun 2002 17:55:27 +0000 (17:55 +0000)]
Fix const problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2760
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Jun 2002 17:49:40 +0000 (17:49 +0000)]
Fix constness problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2759
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Jun 2002 17:38:28 +0000 (17:38 +0000)]
Fix constness problems now that the cast operators preserve the constness
of their argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2758
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Jun 2002 21:58:56 +0000 (21:58 +0000)]
* 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2757
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 4 Jun 2002 03:09:57 +0000 (03:09 +0000)]
Disable debugging output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2756
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 3 Jun 2002 22:10:52 +0000 (22:10 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2755
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 3 Jun 2002 22:10:48 +0000 (22:10 +0000)]
Allow const bb's to be checked for containment in a loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2754
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 28 May 2002 21:38:16 +0000 (21:38 +0000)]
Avoid deleting individual instructions until AFTER dead blocks have dropped
their references. This fixes bug:
test/Regression/Transforms/ADCE/2002-05-28-Crash*.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2753
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 28 May 2002 21:29:28 +0000 (21:29 +0000)]
New testcase that is a distilled form of the other one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2752
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 28 May 2002 21:22:46 +0000 (21:22 +0000)]
New testcase that crashes ADCE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2751
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 26 May 2002 20:18:35 +0000 (20:18 +0000)]
Simplify the interface to local dce and constprop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2750
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 26 May 2002 20:18:18 +0000 (20:18 +0000)]
Simplify the interface to local DCE and Constant prop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2749
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 26 May 2002 20:17:54 +0000 (20:17 +0000)]
Support opaque type printing a little bit at least
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2748
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 26 May 2002 20:17:35 +0000 (20:17 +0000)]
Do not remove type names that contain a .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2747
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 24 May 2002 21:33:26 +0000 (21:33 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2745
91177308-0d34-0410-b5e6-
96231b3b80d8