[WebAssembly] Add another optimization idea to README.txt.

llvm-svn: 261354
This commit is contained in:
Dan Gohman 2016-02-19 19:22:44 +00:00
parent 41331afaef
commit 87e368b7db
1 changed files with 6 additions and 0 deletions

View File

@ -100,3 +100,9 @@ WebAssembly registers are implicitly initialized to zero. Explicit zeroing is
therefore often redundant and could be optimized away.
//===---------------------------------------------------------------------===//
Small indices may use smaller encodings than large indices.
WebAssemblyRegRenumbering should sort registers according to their usage
frequency to maximize the usage of smaller encodings.
//===---------------------------------------------------------------------===//