[llvm-commits] [llvm] r158359 - in /llvm/trunk/docs/CommandGuide: FileCheck.rst bugpoint.rst llvm-config.rst opt.rst
Dmitri Gribenko
gribozavr at gmail.com
Tue Jun 12 08:45:07 PDT 2012
Author: gribozavr
Date: Tue Jun 12 10:45:07 2012
New Revision: 158359
URL: http://llvm.org/viewvc/llvm-project?rev=158359&view=rev
Log:
Use correct syntax highliter in code blocks. Noticed by Sean Silva.
Modified:
llvm/trunk/docs/CommandGuide/FileCheck.rst
llvm/trunk/docs/CommandGuide/bugpoint.rst
llvm/trunk/docs/CommandGuide/llvm-config.rst
llvm/trunk/docs/CommandGuide/opt.rst
Modified: llvm/trunk/docs/CommandGuide/FileCheck.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/FileCheck.rst?rev=158359&r1=158358&r2=158359&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/FileCheck.rst (original)
+++ llvm/trunk/docs/CommandGuide/FileCheck.rst Tue Jun 12 10:45:07 2012
@@ -78,7 +78,7 @@
like this:
-.. code-block:: perl
+.. code-block:: llvm
; RUN: llvm-as < %s | llc -march=x86-64 | FileCheck %s
@@ -90,7 +90,7 @@
let's look at the rest of the .ll file (after the RUN line):
-.. code-block:: perl
+.. code-block:: llvm
define void @sub1(i32* %p, i32 %v) {
entry:
@@ -135,7 +135,7 @@
testing different architectural variants with llc. Here's a simple example:
-.. code-block:: perl
+.. code-block:: llvm
; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin9 -mattr=sse41 \
; RUN: | FileCheck %s -check-prefix=X32
@@ -168,7 +168,7 @@
example, something like this works as you'd expect:
-.. code-block:: perl
+.. code-block:: llvm
define void @t2(<2 x double>* %r, <2 x double>* %A, double %B) {
%tmp3 = load <2 x double>* %A, align 16
@@ -204,7 +204,7 @@
can be used:
-.. code-block:: perl
+.. code-block:: llvm
define i8 @coerce_offset0(i32 %V, i32* %P) {
store i32 %V, i32* %P
@@ -235,7 +235,7 @@
you to write things like this:
-.. code-block:: perl
+.. code-block:: llvm
; CHECK: movhpd {{[0-9]+}}(%esp), {{%xmm[0-7]}}
@@ -261,7 +261,7 @@
simple example:
-.. code-block:: perl
+.. code-block:: llvm
; CHECK: test5:
; CHECK: notw [[REGISTER:%[a-z]+]]
Modified: llvm/trunk/docs/CommandGuide/bugpoint.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/bugpoint.rst?rev=158359&r1=158358&r2=158359&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/bugpoint.rst (original)
+++ llvm/trunk/docs/CommandGuide/bugpoint.rst Tue Jun 12 10:45:07 2012
@@ -211,7 +211,7 @@
testcase and pass the name of an executable compile-command script in this form:
- .. code-block:: perl
+ .. code-block:: sh
#!/bin/sh
llc "$@"
Modified: llvm/trunk/docs/CommandGuide/llvm-config.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-config.rst?rev=158359&r1=158358&r2=158359&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-config.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-config.rst Tue Jun 12 10:45:07 2012
@@ -25,7 +25,7 @@
To link against the JIT:
-.. code-block:: perl
+.. code-block:: sh
g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp
g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \
Modified: llvm/trunk/docs/CommandGuide/opt.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/opt.rst?rev=158359&r1=158358&r2=158359&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/opt.rst (original)
+++ llvm/trunk/docs/CommandGuide/opt.rst Tue Jun 12 10:45:07 2012
@@ -86,7 +86,7 @@
of options available, use the following command:
- .. code-block:: perl
+ .. code-block:: sh
llvm-as < /dev/null | opt -std-compile-opts -disable-output -debug-pass=Arguments
@@ -161,7 +161,7 @@
optimizations, use the **-help** and **-load** options together. For example:
- .. code-block:: perl
+ .. code-block:: sh
opt -load=plugin.so -help
More information about the llvm-commits
mailing list