summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-01-17 14:38:07 +0100
committer Vladimir Marko <vmarko@google.com> 2024-01-22 10:27:42 +0100
commitdbf9d9309f3df9c9ac8a9e30277b31ebb2977f4d (patch)
tree5e5950e962e90410acb6e73a4c53752d9c709ac9 /compiler/optimizing/instruction_builder.cc
parentf99be32df8d55405aa70c44899f058e7a842de3e (diff)
Create list of intrinsics with specialized HIR.
Split the intrinsics list to differentiate intrinsics with and without HIR. Eliminate unreachable intrinsic functions for intrinsics with HIR. Test: m test-art-host-gtest Test: restrunner.py --host --optimizing Bug: 319045458 Change-Id: I6144ef6b6ec547c30f2911c41125a1f07f6f6d50
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
-rw-r--r--compiler/optimizing/instruction_builder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc
index 23d47c3857..ca0a8e81af 100644
--- a/compiler/optimizing/instruction_builder.cc
+++ b/compiler/optimizing/instruction_builder.cc
@@ -2009,6 +2009,7 @@ bool HInstructionBuilder::BuildSimpleIntrinsic(ArtMethod* method,
break;
default:
// We do not have intermediate representation for other intrinsics.
+ DCHECK(!IsIntrinsicWithSpecializedHir(intrinsic));
return false;
}
DCHECK(instruction != nullptr);