5 llvm-upgrade - LLVM assembly upgrader
9 B<llvm-upgrade> [I<options>] [I<filename>]
13 B<llvm-upgrade> is the LLVM assembly upgrader. It reads a file containing
14 human-readable LLVM assembly language, and upgrades that assembly to the current
15 version of LLVM. If the input is in the form currently accepted by LLVM, then
16 no upgrades are performed.
18 The expected usage of this tool is as a filter, like this:
22 B<llvm-1.9/bin/llvm-dis < 1.9.bc | llvm-upgrade | llvm-2.0/bin/llvm-as -o 2.0.bc>
26 If F<filename> is omitted or is C<->, then B<llvm-upgrade> reads its input from
29 If an output file is not specified with the B<-o> option, then
30 B<llvm-upgrade> sends its output to standard output.
38 Force overwrite. Normally, B<llvm-upgrade> will refuse to overwrite an
39 output file that already exists. With this option, B<llvm-upgrade>
40 will overwrite the output file.
44 Print a summary of command line options.
46 =item B<-o> F<filename>
48 Specify the output file name. If F<filename> is C<->, then B<llvm-upgrade>
49 sends its output to standard output.
55 If B<llvm-upgrade> succeeds, it will exit with 0. Otherwise, if an error
56 occurs, it will exit with a non-zero value.
60 L<llvm-as|llvm-as>, L<llvm-dis|llvm-dis>
64 Maintained by the LLVM Team (L<http://llvm.org>).