diff options
author | Sebastien Hertz <shertz@google.com> | 2013-03-19 17:39:29 +0100 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2013-03-19 18:24:51 +0100 |
commit | f11afa079d5899b9ff74d2cad507cfa8c7324690 (patch) | |
tree | af4dc69d36edc6e0b372408d718068541bc0d18b /src/compiler/dex/quick/codegen_util.cc | |
parent | 2af52e76dc76b41969b6147d7bd6925d0f61e932 (diff) | |
download | android_art-f11afa079d5899b9ff74d2cad507cfa8c7324690.tar.gz android_art-f11afa079d5899b9ff74d2cad507cfa8c7324690.tar.bz2 android_art-f11afa079d5899b9ff74d2cad507cfa8c7324690.zip |
Make shadow frame addresses unique.
This CL makes each virtual register's shadow frame address unique in the LLVM
function. Every shadow frame address (gep instructions) are placed right after
allocas to dominate all their uses.
This reduces the number of emitted gep instructions and the memory footprint.
This may also "help" optimization passes to simplify the detection of addresses
in load/store operations where some transformations may be simplified.
Change-Id: I8fe155108db1736c533289962c983caea8c2b63f
Diffstat (limited to 'src/compiler/dex/quick/codegen_util.cc')
0 files changed, 0 insertions, 0 deletions