[llvm-commits] [llvm] r97236 - /llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
Sanjiv Gupta
sanjiv.gupta at microchip.com
Fri Feb 26 10:38:44 PST 2010
Author: sgupta
Date: Fri Feb 26 12:38:44 2010
New Revision: 97236
URL: http://llvm.org/viewvc/llvm-project?rev=97236&view=rev
Log:
disable-mem2reg and disable-gvn options should not be used by the driver.
Modified:
llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
Modified: llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td?rev=97236&r1=97235&r2=97236&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td (original)
+++ llvm/trunk/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td Fri Feb 26 12:38:44 2010
@@ -114,7 +114,7 @@
(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 @@
(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 @@
(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")))
]>;
More information about the llvm-commits
mailing list