summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-03-04 20:09:57 +0000
committerDan Gohman <dan433584@gmail.com>2016-03-04 20:09:57 +0000
commite6b81362e9ce1cb199eb7fb5e199ee19290200d9 (patch)
tree8de1bf8b1f07c849af528f7368db07530c5cf3dc /llvm/lib/Target/WebAssembly
parentdc395b9d2bc479b591495a0fac2e848153cc534d (diff)
downloadbcm5719-llvm-e6b81362e9ce1cb199eb7fb5e199ee19290200d9.tar.gz
bcm5719-llvm-e6b81362e9ce1cb199eb7fb5e199ee19290200d9.zip
[WebAssembly] Add another possible code-size optimization to README.txt
llvm-svn: 262740
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
-rw-r--r--llvm/lib/Target/WebAssembly/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/README.txt b/llvm/lib/Target/WebAssembly/README.txt
index 6bcb9e2b9f6..108ccb7fd98 100644
--- a/llvm/lib/Target/WebAssembly/README.txt
+++ b/llvm/lib/Target/WebAssembly/README.txt
@@ -106,3 +106,9 @@ WebAssemblyRegColoring and/or WebAssemblyRegRenumbering should sort registers
according to their usage frequency to maximize the usage of smaller encodings.
//===---------------------------------------------------------------------===//
+
+When the last statement in a function body computes the return value, it can
+just let that value be the exit value of the outermost block, rather than
+needing an explicit return operation.
+
+//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud