Add llc path to setup
authorChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 22:13:44 +0000 (22:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 22:13:44 +0000 (22:13 +0000)
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

test/Makefile
test/Setup

index 247450c923a4aefa422e26513da3cfc6e5357957..1d43f8b4fe5071b0acbba7ecb74c859d08b33a4c 100644 (file)
@@ -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 > $@
+
index a3fe4feeccaf5d200ce072207cc17e62062fd301..ff2f0851aedd66429817b6d2115e28573c64ca4c 100644 (file)
@@ -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