diff options
| author | Dan Gohman <dan433584@gmail.com> | 2016-02-08 03:42:36 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2016-02-08 03:42:36 +0000 |
| commit | 4918702542c22f8ba51e600767d4bb30045230db (patch) | |
| tree | 989684320899699a2f4e7f63826f294b36236449 /llvm/lib/Target/WebAssembly | |
| parent | 3bb3f73be355fe2204b6ac2b3983001bafb18588 (diff) | |
| download | bcm5719-llvm-4918702542c22f8ba51e600767d4bb30045230db.tar.gz bcm5719-llvm-4918702542c22f8ba51e600767d4bb30045230db.zip | |
[WebAssembly] Add another optimization idea to README.txt.
llvm-svn: 260070
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/README.txt | 5 |
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. + +//===---------------------------------------------------------------------===// |

