aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llc/README.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/llc/README.txt b/tools/llc/README.txt
new file mode 100644
index 0000000000..a87ecb0923
--- /dev/null
+++ b/tools/llc/README.txt
@@ -0,0 +1,14 @@
+
+To run this utility:
+
+For a list of options:
+ llc -h
+
+To see the generated machine instructions:
+ llc -debug_select 1 <bytecode-file>
+
+I left that as a "debugging" option since it is not real code.
+Use 2 instead of 1 to dump the mapping between LLVM instructions and
+Machine instructions, and 5 to see the patterns chosen by BURG.
+These outputs aren't very clean.
+