From 4088342d21a0ba2e58f23fe48eab1990a966b1b4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 20 Nov 2015 03:08:27 +0000 Subject: [PATCH] [WebAssembly] Add a few open tasks to the target README.txt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253643 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/WebAssembly/README.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/Target/WebAssembly/README.txt b/lib/Target/WebAssembly/README.txt index f1c4ab90fa9..8604528b2fc 100644 --- a/lib/Target/WebAssembly/README.txt +++ b/lib/Target/WebAssembly/README.txt @@ -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. + +//===---------------------------------------------------------------------===// -- 2.34.1