WebAssembly: improve readme, add placeholder for tests.
authorJF Bastien <jfb@google.com>
Sat, 5 Dec 2015 19:36:33 +0000 (19:36 +0000)
committerJF Bastien <jfb@google.com>
Sat, 5 Dec 2015 19:36:33 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254857 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/README.txt
lib/Target/WebAssembly/known_gcc_test_failures.txt [new file with mode: 0644]

index bfb124d504eb91289cc6de49191fab2a8c4cd763..78b3123cde85b04744a79b8277d9de6da5b8115f 100644 (file)
@@ -12,6 +12,15 @@ binary encoding of WebAssembly itself:
   * https://github.com/WebAssembly/design/blob/master/AstSemantics.md
   * https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
 
+The backend is built, tested and archived on the following waterfall:
+  https://build.chromium.org/p/client.wasm.llvm/console
+
+The backend's bringup is done using the GCC torture test suite first since it
+doesn't require C library support. Current known failures are in
+known_gcc_test_failures.txt, all other tests should pass. The waterfall will
+turn red if not. Once most of these pass, further testing will use LLVM's own
+test suite.
+
 Interesting work that remains to be done:
 * Write a pass to restructurize irreducible control flow. This needs to be done
   before register allocation to be efficient, because it may duplicate basic
diff --git a/lib/Target/WebAssembly/known_gcc_test_failures.txt b/lib/Target/WebAssembly/known_gcc_test_failures.txt
new file mode 100644 (file)
index 0000000..6038b19
--- /dev/null
@@ -0,0 +1,2 @@
+# Tests which are known to fail from the GCC torture test suite.
+# FIXME: placeholder. The script which runs the tests needs a file here!