From 22c4922c6b31e154a6814c4abe9015d9ba156911 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Fri, 18 Mar 2016 14:04:28 +0000 Subject: Ensure art::HRor support boolean, byte, short and char inputs. Also extend tests covering the IntegerRotateLeft, LongRotateLeft, IntegerRotateRight and LongRotateRight intrinsics and their translation into an art::HRor instruction. Bug: 27682579 Change-Id: I89f6ea6a7315659a172482bf09875cfb7e7422a1 --- compiler/optimizing/graph_checker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/graph_checker.cc') diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc index 1fbb2d5277..11e3689a82 100644 --- a/compiler/optimizing/graph_checker.cc +++ b/compiler/optimizing/graph_checker.cc @@ -945,7 +945,7 @@ void GraphChecker::VisitBinaryOperation(HBinaryOperation* op) { Primitive::PrettyDescriptor(result_type))); } } else { - // Use the first input, so that we can also make this check for shift operations. + // Use the first input, so that we can also make this check for shift and rotate operations. if (Primitive::PrimitiveKind(result_type) != Primitive::PrimitiveKind(lhs_type)) { AddError(StringPrintf("Binary operation %s %d has a result kind different " "from its input kind: %s vs %s.", -- cgit v1.2.3-59-g8ed1b