diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -1,32 +1,3 @@
-..
- If Passes.html is up to date, the following "one-liner" should print
- an empty diff.
-
- egrep -e '^
-.* | .* |
$' \
- -e '^ .*$' < Passes.html >html; \
- perl >help <<'EOT' && diff -u help html; rm -f help html
- open HTML, ") {
- m:^-.* | .* |
$: or next;
- $order{$1} = sprintf("%03d", 1 + int %order);
- }
- open HELP, "../Release/bin/opt -help|" or die "open: opt -help: $!\n";
- while () {
- m:^ -([^ ]+) +- (.*)$: or next;
- my $o = $order{$1};
- $o = "000" unless defined $o;
- push @x, "$o-$1 | $2 |
\n";
- push @y, "$o -$1: $2\n";
- }
- @x = map { s/^\d\d\d//; $_ } sort @x;
- @y = map { s/^\d\d\d//; $_ } sort @y;
- print @x, @y;
- EOT
-
- This (real) one-liner can also be helpful when converting comments to HTML:
-
- perl -e '$/ = undef; for (split(/\n/, <>)) { s:^ *///? ?::; print " \n" if !$on && $_ =~ /\S/; print "
\n" if $on && $_ =~ /^\s*$/; print " $_\n"; $on = ($_ =~ /\S/); } print " \n" if $on'
-
====================================
LLVM's Analysis and Transform Passes
====================================