diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-05-01 17:33:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-05-01 17:33:46 +0000 |
commit | 18df7714111bdd3c5737f1ef2fa587d9957f8a2f (patch) | |
tree | dcb8a86843ffa3a3f0b5155d53ea578f88fa0f01 /compiler/optimizing/loop_optimization.cc | |
parent | 73ff983db34faadda86bfe0bbdd5d4d5f916e0b9 (diff) | |
parent | 472821b210a7fc7a4d2e3d45762c7b5b9628a35b (diff) |
Merge "Enable string "array get" vectorization."
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
-rw-r--r-- | compiler/optimizing/loop_optimization.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/optimizing/loop_optimization.cc b/compiler/optimizing/loop_optimization.cc index da2acd1fd3..c783ddecf5 100644 --- a/compiler/optimizing/loop_optimization.cc +++ b/compiler/optimizing/loop_optimization.cc @@ -733,12 +733,6 @@ bool HLoopOptimization::VectorizeUse(LoopNode* node, } return true; } else if (instruction->IsArrayGet()) { - // Strings are different, with a different offset to the actual data - // and some compressed to save memory. For now, all cases are rejected - // to avoid the complexity. - if (instruction->AsArrayGet()->IsStringCharAt()) { - return false; - } // Accept a right-hand-side array base[index] for // (1) exact matching vector type, // (2) loop-invariant base, |