diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-01-19 16:59:23 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-01-19 16:59:23 +0000 |
commit | b6fd39a3a779295dc7939fd4d79dde513fa73fbe (patch) | |
tree | 880a2aeee05182a9b07e4539eb845348734d5f08 /clang/test/Modules/ModuleDebugInfo.cpp | |
parent | 1a7e8b4bc1cde3fea2de164c26bb499bfce3ad39 (diff) | |
download | llvm-b6fd39a3a779295dc7939fd4d79dde513fa73fbe.zip llvm-b6fd39a3a779295dc7939fd4d79dde513fa73fbe.tar.gz llvm-b6fd39a3a779295dc7939fd4d79dde513fa73fbe.tar.bz2 |
[WebAssembly] Rematerialize constants rather than hold them live in registers.
Teach the register stackifier to rematerialize constants that have multiple
uses instead of leaving them in registers. In the WebAssembly encoding, it's
the same code size to materialize most constants as it is to read a value
from a register.
llvm-svn: 258142
Diffstat (limited to 'clang/test/Modules/ModuleDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions