[llvm] r262740 - [WebAssembly] Add another possible code-size optimization to README.txt

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 12:09:57 PST 2016


Author: djg
Date: Fri Mar  4 14:09:57 2016
New Revision: 262740

URL: http://llvm.org/viewvc/llvm-project?rev=262740&view=rev
Log:
[WebAssembly] Add another possible code-size optimization to README.txt

Modified:
    llvm/trunk/lib/Target/WebAssembly/README.txt

Modified: llvm/trunk/lib/Target/WebAssembly/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/README.txt?rev=262740&r1=262739&r2=262740&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/README.txt (original)
+++ llvm/trunk/lib/Target/WebAssembly/README.txt Fri Mar  4 14:09:57 2016
@@ -106,3 +106,9 @@ WebAssemblyRegColoring and/or WebAssembl
 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.
+
+//===---------------------------------------------------------------------===//




More information about the llvm-commits mailing list