summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-26 18:38:44 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-26 18:38:44 +0000
commitf8bd9413d55148b3e997cd232ffb21bebe968a92 (patch)
tree577f31c6b44ab4b950169e1cb96efeb4e54dc822 /llvm/tools/llvmc
parentd4655991c36606b8317612e4dd1fb90ccb9d9981 (diff)
downloadbcm5719-llvm-f8bd9413d55148b3e997cd232ffb21bebe968a92.tar.gz
bcm5719-llvm-f8bd9413d55148b3e997cd232ffb21bebe968a92.zip
disable-mem2reg and disable-gvn options should not be used by the driver.
llvm-svn: 97236
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td b/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
index ab9c3f27f49..25149ad72f4 100644
--- a/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
+++ b/llvm/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")))
]>;
OpenPOWER on IntegriCloud