[WebAssembly] Add a few open tasks to the target README.txt.
authorDan Gohman <dan433584@gmail.com>
Fri, 20 Nov 2015 03:08:27 +0000 (03:08 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 20 Nov 2015 03:08:27 +0000 (03:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253643 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/README.txt

index f1c4ab90fa901dd257aca6a51187bf1b8e8aa6c8..8604528b2fc8e4c157f3429e363762219a473f92 100644 (file)
@@ -21,3 +21,20 @@ Interesting work that remains to be done:
   for WebAssembly.
 
 //===---------------------------------------------------------------------===//
+
+set_local and store instructions have a return value. We should (a) model this,
+and (b) write optimizations which take advantage of it. Keep in mind that
+many set_local instructions are implicit!
+
+//===---------------------------------------------------------------------===//
+
+Load and store instructions can have a constant offset. We should (a) model
+this, and (b) do address-mode folding with it.
+
+//===---------------------------------------------------------------------===//
+
+Br, br_if, and tableswitch instructions can support having a value on the
+expression stack across the jump (sometimes). We should (a) model this, and
+(b) extend the stackifier to utilize it.
+
+//===---------------------------------------------------------------------===//