summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-12-11 08:20:21 -0800
committer android-build-merger <android-build-merger@google.com> 2015-12-11 08:20:21 -0800
commit8cd24b9ce515da068f459f8c6471adb2cc4a0931 (patch)
treeb5ca917081eff52a98331b1234335069ead8bede /compiler/optimizing/graph_checker.cc
parentf6e504d5ff301048f545905c01c4734f2b583713 (diff)
parent58dcb021c3bd45718d0103844f4e6d55754e6501 (diff)
Merge "Replace rotate patterns and invokes with HRor IR."
am: 58dcb021c3 * commit '58dcb021c3bd45718d0103844f4e6d55754e6501': Replace rotate patterns and invokes with HRor IR.
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
-rw-r--r--compiler/optimizing/graph_checker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc
index c16b872466..dfc363f9fd 100644
--- a/compiler/optimizing/graph_checker.cc
+++ b/compiler/optimizing/graph_checker.cc
@@ -850,7 +850,7 @@ void SSAChecker::VisitCondition(HCondition* op) {
void SSAChecker::VisitBinaryOperation(HBinaryOperation* op) {
VisitInstruction(op);
- if (op->IsUShr() || op->IsShr() || op->IsShl()) {
+ if (op->IsUShr() || op->IsShr() || op->IsShl() || op->IsRor()) {
if (PrimitiveKind(op->InputAt(1)->GetType()) != Primitive::kPrimInt) {
AddError(StringPrintf(
"Shift operation %s %d has a non-int kind second input: "