From b26202f10c6e798d3cae33a8a177ffba2de153aa Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 24 Aug 2004 14:24:14 +0000 Subject: [PATCH] Adjustments for changes in the configuration language. llvm-svn: 16026 --- llvm/tools/llvmc/ll | 8 +++----- llvm/tools/llvmc/st | 20 ++++++-------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/llvm/tools/llvmc/ll b/llvm/tools/llvmc/ll index 3811734c9330..f9dc858bec34 100644 --- a/llvm/tools/llvmc/ll +++ b/llvm/tools/llvmc/ll @@ -1,14 +1,12 @@ # LLVM Assembly Config File For llvmc + version="1.0" lang.name=LLVM Assembly preprocessor.command= preprocessor.required=false translator.command=llvm-as %in% -o %out% - translator.groks_dash_O=no translator.optimizes=no translator.preprocesses=true translator.required=TRUE - optimizer.command=opt %in% -o %out% - optimizer.groks_dash_O=no - optimizer.groks_optimization=yes + optimizer.command=opt %in% -o %out% %opt% %args% + optimizer.translates=no assembler.command=llc %in% -o %out% - linker.command=llvm-link %in% -o %out% diff --git a/llvm/tools/llvmc/st b/llvm/tools/llvmc/st index e9a72ef5da6a..c08c8d1c7c20 100644 --- a/llvm/tools/llvmc/st +++ b/llvm/tools/llvmc/st @@ -43,11 +43,8 @@ # The translator is required to run. translator.required=true - # stkrc doesn't do any optimization, it just translates - translator.optimizes=no - # stkrc doesn't handle the -On options - translator.groks_dash_O=no + translator.output=bytecode ########################################################## # Optimizer definitions @@ -57,8 +54,7 @@ optimizer.command=opt %in% -o %out% %opt% %time% %stats% \ %args% - # opt doesn't (yet) grok -On - optimizer.groks_dash_O=no + optimizer.required = true # opt doesn't translate optimizer.translates = no @@ -66,14 +62,10 @@ # opt doesn't preprocess optimizer.preprocesses=no + # opt produces bytecode + optimizer.output = bc + ########################################################## # Assembler definitions ########################################################## - assembler.command=llc %in% -o %out% %target% \ - "-regalloc=linearscan" %time% %stats% - -########################################################## -# Linker definitions -########################################################## - linker.libs=stkr_runtime - linker.paths= + assembler.command=llc %in% -o %out% %target% %time% %stats%