OSDN Git Service

[WebAssembly] Add another optimization idea to README.txt.
authorDan Gohman <dan433584@gmail.com>
Fri, 19 Feb 2016 19:22:44 +0000 (19:22 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 19 Feb 2016 19:22:44 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261354 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/README.txt

index 68f902e..a2b35b2 100644 (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.
+
+//===---------------------------------------------------------------------===//