summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/WebAssembly/README.txt')
-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