From 26c8ca42a0437bb84d340dddf751250775be41e7 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 19 Oct 2023 16:18:35 +0000 Subject: riscv64: Add entrypoints for unresolved fields. And enable `*Unresolved*` instructions in codegen. Test: m # aosp_cf_riscv64_phone-userdebug Test: # Edit `run-test` to disable checker, then testrunner.py --target --64 --ndebug --optimizing # Ignore 3 pre-existing failures. Bug: 283082089 Change-Id: I04f23161d96f9eefdbe1e3b17ed0f7ae695deb07 --- compiler/optimizing/optimizing_compiler.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 1f71c4d10d..f3f0a13548 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -798,6 +798,10 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) { case HInstruction::kInstanceFieldSet: case HInstruction::kStaticFieldGet: case HInstruction::kStaticFieldSet: + case HInstruction::kUnresolvedInstanceFieldGet: + case HInstruction::kUnresolvedInstanceFieldSet: + case HInstruction::kUnresolvedStaticFieldGet: + case HInstruction::kUnresolvedStaticFieldSet: case HInstruction::kArrayGet: case HInstruction::kArrayLength: case HInstruction::kArraySet: @@ -839,6 +843,7 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) { case HInstruction::kInvokeInterface: case HInstruction::kInvokeCustom: case HInstruction::kInvokePolymorphic: + case HInstruction::kInvokeUnresolved: case HInstruction::kCurrentMethod: case HInstruction::kNullCheck: case HInstruction::kDeoptimize: -- cgit v1.2.3-59-g8ed1b