summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-12-11 16:14:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-12-11 16:14:56 +0000
commit58dcb021c3bd45718d0103844f4e6d55754e6501 (patch)
treeb5ca917081eff52a98331b1234335069ead8bede /compiler/optimizing/graph_checker.cc
parent66278646b5b332142d1474703ac7d945dfbf7c78 (diff)
parent40a04bf64e5837fa48aceaffe970c9984c94084a (diff)
Merge "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: "