diff options
-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. + +//===---------------------------------------------------------------------===// |