diff options
author | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-07-15 17:44:21 +0100 |
---|---|---|
committer | Serban Constantinescu <serban.constantinescu@arm.com> | 2014-07-28 19:17:30 +0100 |
commit | 63999683329612292d534e6be09dbde9480f1250 (patch) | |
tree | 4412a387d3fc4313f98138764ce9197f58f9825c /compiler/dex/quick/arm/codegen_arm.h | |
parent | 3f49507c333b7c8d36620870522a7a1055987ef8 (diff) | |
download | android_art-63999683329612292d534e6be09dbde9480f1250.tar.gz android_art-63999683329612292d534e6be09dbde9480f1250.tar.bz2 android_art-63999683329612292d534e6be09dbde9480f1250.zip |
Revert "Revert "Enable Load Store Elimination for ARM and ARM64""
This patch refactors the implementation of the LoadStoreElimination
optimisation pass. Please note that this pass was disabled and not
functional for any of the backends.
The current implementation tracks aliases and handles DalvikRegs as well
as Heap memory regions. It has been tested and it is known to optimise
out the following:
* Load - Load
* Store - Load
* Store - Store
* Load Literals
Change-Id: I3aadb12a787164146a95bc314e85fa73ad91e12b
Diffstat (limited to 'compiler/dex/quick/arm/codegen_arm.h')
-rw-r--r-- | compiler/dex/quick/arm/codegen_arm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h index 9652192cdf..e0b8ec6b6b 100644 --- a/compiler/dex/quick/arm/codegen_arm.h +++ b/compiler/dex/quick/arm/codegen_arm.h @@ -198,6 +198,7 @@ class ArmMir2Lir FINAL : public Mir2Lir { } LIR* InvokeTrampoline(OpKind op, RegStorage r_tgt, QuickEntrypointEnum trampoline) OVERRIDE; + size_t GetInstructionOffset(LIR* lir); private: void GenFusedLongCmpImmBranch(BasicBlock* bb, RegLocation rl_src1, int64_t val, |