forked from OSchip/llvm-project
For PR1152:
Update documentation to reflect that this isn't a full-blown executable any more. llvm-svn: 33807
This commit is contained in:
parent
f309d13677
commit
04c5761386
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
gccas - optimizing LLVM assembler
|
gccas - convenience script to run B<llvm-as> and B<opt>
|
||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
|
@ -10,19 +10,19 @@ B<gccas> [I<options>] I<filename>
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
The B<gccas> utility takes an LLVM assembly file generated by the
|
The B<gccas> shell script passes an LLVM assembly file through the B<llvm-as>
|
||||||
L<llvmgcc|llvmgcc> or L<llvmg++|llvmgxx> front-ends and converts
|
and B<opt> programs to generate an optimized bytecode file. Its name is an
|
||||||
it into an LLVM bytecode file. It is primarily used by the GCC
|
historical artifact from when it was a full executable used to process LLVM
|
||||||
front end, and as such, attempts to mimic the interface provided
|
assembly generated by the L<llvmgcc|llvmgcc> or L<llvmg++|llvmgxx> front-ends.
|
||||||
by the default system assembler so that it can act as a "drop-in"
|
Currently this is a shell script that simulates what the old B<gccas> executable
|
||||||
replacement.
|
once did.
|
||||||
|
|
||||||
B<gccas> performs a number of optimizations on the input program,
|
B<gccas> performs a number of optimizations on the input program, including but
|
||||||
including but not limited to: promotion of stack values to SSA
|
not limited to: promotion of stack values to SSA registers; elimination of dead
|
||||||
registers; elimination of dead globals, function arguments, code,
|
globals, function arguments, code, and types; tail-call elimination;
|
||||||
and types; tail-call elimination; loop-invariant code motion; global
|
loop-invariant code motion; global common-subexpression elimination; and
|
||||||
common-subexpression elimination; and sparse conditional constant
|
sparse conditional constant propagation. It accomplishes this by using the
|
||||||
propagation.
|
B<-std-compile-opts> option to the B<opt> tool.
|
||||||
|
|
||||||
=head1 OPTIONS
|
=head1 OPTIONS
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ status.
|
||||||
|
|
||||||
=head1 SEE ALSO
|
=head1 SEE ALSO
|
||||||
|
|
||||||
L<llvm-as|llvm-as>, L<gccld|gccld>
|
L<llvm-as|llvm-as>, L<opt|opt>, L<gccld|gccld>
|
||||||
|
|
||||||
=head1 AUTHORS
|
=head1 AUTHORS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue