diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-10-14 17:25:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-10-14 17:25:31 +0000 |
| commit | 1a176f15dcdcc44e4e672a68abbb9739f19ae50f (patch) | |
| tree | bd5cf2c2fcabc2b3ab9c50a3b577d7be09d9d060 /llvm/lib/Target/Sparc | |
| parent | 9853942d6630002d9564959b543bf5e68aa60dac (diff) | |
| download | bcm5719-llvm-1a176f15dcdcc44e4e672a68abbb9739f19ae50f.tar.gz bcm5719-llvm-1a176f15dcdcc44e4e672a68abbb9739f19ae50f.zip | |
Make the sparc.burg file be a little more flexible and rubust in the fact of
renumbering of instructions. It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better.
Oh yeah it also works now.
llvm-svn: 793
Diffstat (limited to 'llvm/lib/Target/Sparc')
| -rw-r--r-- | llvm/lib/Target/Sparc/Makefile | 16 | ||||
| -rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 1 |
2 files changed, 11 insertions, 6 deletions
diff --git a/llvm/lib/Target/Sparc/Makefile b/llvm/lib/Target/Sparc/Makefile index 82404c85b88..018dd8af48c 100644 --- a/llvm/lib/Target/Sparc/Makefile +++ b/llvm/lib/Target/Sparc/Makefile @@ -3,11 +3,17 @@ LIBRARYNAME = sparc ## List source files in link order Source = \ - Sparc.o \ - Sparc.burm.o \ - SparcInstrSelection.o \ - SparcRegClassInfo.o \ - SparcRegInfo.o EmitAssembly.o + Sparc.cpp \ + Sparc.burm.cpp \ + SparcInstrSelection.cpp \ + SparcRegClassInfo.cpp \ + SparcRegInfo.cpp EmitAssembly.cpp include $(LEVEL)/Makefile.common +Debug/Sparc.burg.in1 : Sparc.burg.in + g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Ydefine/#define/' > $@ + +Debug/Sparc.burg : Debug/Sparc.burg.in1 + g++ -E -I$(LEVEL)/include -D_DEBUG -x c++ $< | sed '/^# /d' | sed 's/Xinclude/#include/g' | sed 's/Xdefine/#define/g' > $@ + diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index dac4d208da7..b1b99bbecd0 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -35,7 +35,6 @@ const MachineInstrDescriptor SparcMachineInstrDesc[] = { TargetMachine *allocateSparcTargetMachine() { return new UltraSparc(); } - //---------------------------------------------------------------------------- // Entry point for register allocation for a module //---------------------------------------------------------------------------- |

