diff options
author | 2024-09-11 16:29:10 +0000 | |
---|---|---|
committer | 2024-09-13 09:28:01 +0000 | |
commit | d0bc68e1f40259230329e6709c72af187f72144c (patch) | |
tree | 0fbe11c2b48441b1b40d598883611ece8148352d /compiler/optimizing/nodes.cc | |
parent | d0929a5662cf29440667e40fadcf839e5fb8aa45 (diff) |
riscv64: Add node Rol, fix InstructionBuilder
This reverts commit 744830cb242c82c4637e6fb303b36d0371c84979.
Reason for revert: updated CHECKer test to use rolw instead of rol.
Change-Id: I50e34c6ac69488a9c083f04c6382df4302e8e7d3
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r-- | compiler/optimizing/nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 588f4d7ce2..32ae89eeea 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -1829,7 +1829,7 @@ HConstant* HBinaryOperation::TryStaticEvaluation(HInstruction* left, HInstructio } else if (left->IsLongConstant()) { if (right->IsIntConstant()) { // The binop(long, int) case is only valid for shifts and rotations. - DCHECK(IsShl() || IsShr() || IsUShr() || IsRor()) << DebugName(); + DCHECK(IsShl() || IsShr() || IsUShr() || IsRol() || IsRor()) << DebugName(); return Evaluate(left->AsLongConstant(), right->AsIntConstant()); } else if (right->IsLongConstant()) { return Evaluate(left->AsLongConstant(), right->AsLongConstant()); |