aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide/llc.pod
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-16 05:18:53 +0000
committerChris Lattner <sabre@nondot.org>2005-12-16 05:18:53 +0000
commit4f501bf322eb5ff3f21ff479c1cbeb19cc818f37 (patch)
treeceeed8d1b85d83cbd7d20a4182be8e399f1bfcd0 /docs/CommandGuide/llc.pod
parent3015e6061c67ef30e85df83f320f3dcf9c9f023b (diff)
downloadexternal_llvm-4f501bf322eb5ff3f21ff479c1cbeb19cc818f37.zip
external_llvm-4f501bf322eb5ff3f21ff479c1cbeb19cc818f37.tar.gz
external_llvm-4f501bf322eb5ff3f21ff479c1cbeb19cc818f37.tar.bz2
Document -mcpu -mattr -triple
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/llc.pod')
-rw-r--r--docs/CommandGuide/llc.pod36
1 files changed, 21 insertions, 15 deletions
diff --git a/docs/CommandGuide/llc.pod b/docs/CommandGuide/llc.pod
index 910dfad..7b6eb05 100644
--- a/docs/CommandGuide/llc.pod
+++ b/docs/CommandGuide/llc.pod
@@ -46,11 +46,31 @@ Print a summary of command line options.
Overwrite output files. By default, B<llc> will refuse to overwrite
an output file which already exists.
+=item B<-triple>=I<target triple>
+
+Override the target triple specified in the input bytecode file with the
+specified string.
+
=item B<-march>=I<arch>
Specify the architecture for which to generate assembly, overriding the target
encoded in the bytecode file. See the output of B<llc --help> for a list of
-valid architectures.
+valid architectures. By default this is inferred from the target triple or
+autodetected to the current architecture.
+
+=item B<-mcpu>=I<cpuname>
+
+Specify a specific chip in the current architecture to generate code for.
+By default this is inferred from the target triple and autodetected to
+the current architecture. For a list of available CPUs, use:
+B<llvm-as E<lt> /dev/null | llc -march=xyz -mcpu=help>
+
+=item B<-mattr>=I<a1,+a2,-a3,...>
+
+Override or control specific attributes of the target, such as whether SIMD
+operations are enabled or not. The default set of attributes is set by the
+current CPU. For a list of available attributes, use:
+B<llvm-as E<lt> /dev/null | llc -march=xyz -mattr=help>
=item B<--disable-fp-elim>
@@ -155,20 +175,6 @@ syntax.
=back
-=head2 SPARCV9-specific Options
-
-=over
-
-=item B<--disable-peephole>
-
-Disable peephole optimization pass.
-
-=item B<--disable-sched>
-
-Disable local scheduling pass.
-
-=back
-
=head1 EXIT STATUS
If B<llc> succeeds, it will exit with 0. Otherwise, if an error occurs,