summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-02-08 03:42:36 +0000
committerDan Gohman <dan433584@gmail.com>2016-02-08 03:42:36 +0000
commit4918702542c22f8ba51e600767d4bb30045230db (patch)
tree989684320899699a2f4e7f63826f294b36236449
parent3bb3f73be355fe2204b6ac2b3983001bafb18588 (diff)
downloadbcm5719-llvm-4918702542c22f8ba51e600767d4bb30045230db.tar.gz
bcm5719-llvm-4918702542c22f8ba51e600767d4bb30045230db.zip
[WebAssembly] Add another optimization idea to README.txt.
llvm-svn: 260070
-rw-r--r--llvm/lib/Target/WebAssembly/README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/README.txt b/llvm/lib/Target/WebAssembly/README.txt
index f4417e930c8..68f902ee59f 100644
--- a/llvm/lib/Target/WebAssembly/README.txt
+++ b/llvm/lib/Target/WebAssembly/README.txt
@@ -95,3 +95,8 @@ It could be done with a smaller encoding like this:
copy_local $3=, $pop6
//===---------------------------------------------------------------------===//
+
+WebAssembly registers are implicitly initialized to zero. Explicit zeroing is
+therefore often redundant and could be optimized away.
+
+//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud