mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Add llc path to setup
Make code gen simpler, don't drop extra files all over the place git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@494 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a105022a78
commit
5341e214d9
@ -33,10 +33,10 @@ clean :
|
|||||||
@echo "Running optimizier test on $<"
|
@echo "Running optimizier test on $<"
|
||||||
@./TestOptimizer.sh $<
|
@./TestOptimizer.sh $<
|
||||||
|
|
||||||
%.bc: %.ll $(AS)
|
%.bc: %.ll
|
||||||
rm -f $@
|
$(AS) $< -f
|
||||||
$(AS) $<
|
|
||||||
|
|
||||||
%.mc: %.bc $(LLC)
|
%.mc: %.ll
|
||||||
@echo "Generating machine instructions for $<"
|
@echo "Generating machine instructions for $<"
|
||||||
$(LLC) $(LLCOPTS) $< > $@
|
$(AS) < $< | $(LLC) -dsched=t > $@
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
setenv LD_LIBRARY_PATH ../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
|
setenv LD_LIBRARY_PATH ../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
|
||||||
|
|
||||||
setenv PATH ../lib/CodeGen:../tools/dis:../tools/opt:../tools/strip:../tools/analyze:${PATH}
|
setenv PATH ../lib/CodeGen:../tools/dis:../tools/opt:../tools/strip:../tools/analyze:../tools/llc:${PATH}
|
||||||
alias as ../tools/as/as
|
alias as ../tools/as/as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user