diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-07 22:13:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-07 22:13:44 +0000 |
commit | 5341e214d993c75e5e4b34b0c848ce008ae68340 (patch) | |
tree | 66140899005d410d09680185af473043269ca9de | |
parent | a105022a7853e3846f6720986d70bd3d426ff03f (diff) |
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
-rw-r--r-- | test/Makefile | 10 | ||||
-rw-r--r-- | test/Setup | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile index 247450c923..1d43f8b4fe 100644 --- a/test/Makefile +++ b/test/Makefile @@ -33,10 +33,10 @@ clean : @echo "Running optimizier test on $<" @./TestOptimizer.sh $< -%.bc: %.ll $(AS) - rm -f $@ - $(AS) $< +%.bc: %.ll + $(AS) $< -f -%.mc: %.bc $(LLC) +%.mc: %.ll @echo "Generating machine instructions for $<" - $(LLC) $(LLCOPTS) $< > $@ + $(AS) < $< | $(LLC) -dsched=t > $@ + diff --git a/test/Setup b/test/Setup index a3fe4feecc..ff2f0851ae 100644 --- a/test/Setup +++ b/test/Setup @@ -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 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 |