summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/src
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-12-15 01:22:05 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-12-15 01:22:05 +0000
commit6e0252c7b1a01d52c489edc73cd7e6c5b709fbae (patch)
tree6d8ecce0f6d4e0a8ad976d300ac4b760d000566e /llvm/tools/llvmc/src
parent9f9b7051c7b1d7f8a9ac98860a6f019fe815e27d (diff)
downloadbcm5719-llvm-6e0252c7b1a01d52c489edc73cd7e6c5b709fbae.tar.gz
bcm5719-llvm-6e0252c7b1a01d52c489edc73cd7e6c5b709fbae.zip
llvmc: Forward -march/-mcpu/-mtune to as & ld.
llvm-svn: 121823
Diffstat (limited to 'llvm/tools/llvmc/src')
-rw-r--r--llvm/tools/llvmc/src/Base.td.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/src/Base.td.in b/llvm/tools/llvmc/src/Base.td.in
index efb259fbe01..150829da56b 100644
--- a/llvm/tools/llvmc/src/Base.td.in
+++ b/llvm/tools/llvmc/src/Base.td.in
@@ -276,6 +276,9 @@ def llvm_gcc_assembler : Tool<
(switch_on "c"), (stop_compilation),
(not_empty "arch"), (forward "arch"),
(not_empty "Xassembler"), (forward "Xassembler"),
+ (not_empty "march"), (forward "march"),
+ (not_empty "mcpu"), (forward "mcpu"),
+ (not_empty "mtune"), (forward "mtune"),
(switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"),
(not_empty "Wa,"), (forward "Wa,")))
@@ -321,6 +324,9 @@ class llvm_gcc_based_linker <string cmd, dag on_empty> : Tool<
(not_empty "framework"), (forward "framework"),
(not_empty "weak_framework"), (forward "weak_framework"),
(not_empty "filelist"), (forward "filelist"),
+ (not_empty "march"), (forward "march"),
+ (not_empty "mcpu"), (forward "mcpu"),
+ (not_empty "mtune"), (forward "mtune"),
(switch_on "m32"), (forward "m32"),
(switch_on "m64"), (forward "m64"),
(not_empty "l"), (forward "l"),
OpenPOWER on IntegriCloud