From: Reid Spencer Date: Thu, 28 Oct 2004 04:08:05 +0000 (+0000) Subject: Use llvmc to compile the Stacker programs X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e198cd18bdaa85f5171987d8ad036e91935f8b1d;p=oota-llvm.git Use llvmc to compile the Stacker programs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17300 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/samples/Makefile b/projects/Stacker/samples/Makefile index 22190a78dbb..999f7c0cd99 100644 --- a/projects/Stacker/samples/Makefile +++ b/projects/Stacker/samples/Makefile @@ -16,49 +16,26 @@ DIRS = SAMPLES = fibonacci hello prime -LLC_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/llc -OPT_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/opt -STKRC_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/stkrc -LLVMDIS_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/llvm-dis +LLVMC_EXEC = $(TOOLDIR)/llvmc all :: $(SAMPLES) ifdef OPTIMIZE % : %.st - @$(ECHO) "Compiling and Optimizing $< to $*.bc" - $(VERB)$(STKRC_EXEC) -e -o - $< | opt -stats -q -f -o $*.bc \ - -aa-eval -adce -branch-combine -cee -constmerge -constprop -dce -die -ds-aa \ - -ds-opt -gcse -globaldce -indvars -inline -instcombine \ - -ipconstprop -licm -loopsimplify -mem2reg -pre -sccp -simplifycfg \ - -tailcallelim -verify + @$(ECHO) "Compiling and Optimizing $(