diff options
author | 2017-10-03 11:37:37 -0700 | |
---|---|---|
committer | 2017-10-05 10:42:13 -0700 | |
commit | 46b6dbcd18df0cb5915ca906fefd9f0b0a1af6a2 (patch) | |
tree | 723856081b9d0abcc017b323672e4b1cc99cad16 /compiler/optimizing/instruction_simplifier.cc | |
parent | 844a4edc7f72e33a3b328c3d53ef710909d2273d (diff) |
Try to preserve dex pc better in vector code.
Also improves a few comment and uses new data
type method to test type consistency.
Test: test-art-host
Change-Id: I4a17f9d5bc458a091a259dd45ebcdc6531abbf84
Diffstat (limited to 'compiler/optimizing/instruction_simplifier.cc')
-rw-r--r-- | compiler/optimizing/instruction_simplifier.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_simplifier.cc b/compiler/optimizing/instruction_simplifier.cc index 36ff2a9ac3..6610bcc713 100644 --- a/compiler/optimizing/instruction_simplifier.cc +++ b/compiler/optimizing/instruction_simplifier.cc @@ -313,7 +313,8 @@ bool InstructionSimplifierVisitor::TryCombineVecMultiplyAccumulate(HVecMul* mul) mul->GetLeft(), mul->GetRight(), binop->GetPackedType(), - binop->GetVectorLength()); + binop->GetVectorLength(), + binop->GetDexPc()); binop->GetBlock()->ReplaceAndRemoveInstructionWith(binop, mulacc); DCHECK(!mul->HasUses()); |