From e6b81362e9ce1cb199eb7fb5e199ee19290200d9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 4 Mar 2016 20:09:57 +0000 Subject: [PATCH] [WebAssembly] Add another possible code-size optimization to README.txt llvm-svn: 262740 --- llvm/lib/Target/WebAssembly/README.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/lib/Target/WebAssembly/README.txt b/llvm/lib/Target/WebAssembly/README.txt index 6bcb9e2..108ccb7 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. + +//===---------------------------------------------------------------------===// -- 2.7.4