From ad597f99d997c2b4d598c8942e8c54008496beab Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Fri, 26 Feb 2010 18:38:44 +0000 Subject: disable-mem2reg and disable-gvn options should not be used by the driver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97236 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/llvmc') diff --git a/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td b/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td index ab9c3f27f4..25149ad72f 100644 --- a/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td +++ b/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td @@ -114,7 +114,7 @@ def llvm_ld : Tool<[ (in_language "llvm-bitcode"), (out_language "llvm-bitcode"), (output_suffix "bc"), - (command "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -disable-gvn -disable-licm-promotion -disable-mem2reg -l std"), + (command "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -disable-licm-promotion -l std"), (out_file_option "-b"), (actions (case (switch_on "O0"), (append_cmd "-disable-opt"), @@ -133,7 +133,7 @@ def llvm_ld_optimizer : Tool<[ (output_suffix "bc"), // FIXME: we are still not disabling licm-promotion. // -disable-licm-promotion and building stdn library causes c16-71 to fail. - (command "$CALL(GetBinDir)llvm-ld -disable-gvn -disable-mem2reg"), + (command "$CALL(GetBinDir)llvm-ld "), (out_file_option "-b"), (actions (case (switch_on "O0"), (append_cmd "-disable-opt"), @@ -149,7 +149,7 @@ def pic16passes : Tool<[ (in_language "llvm-bitcode"), (out_language "llvm-bitcode"), (output_suffix "obc"), - (command "$CALL(GetBinDir)opt -pic16cg -pic16overlay -f"), + (command "$CALL(GetBinDir)opt -pic16cloner -pic16overlay -f"), (actions (case (switch_on "O0"), (append_cmd "-disable-opt"))) ]>; -- cgit v1.2.3