summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Vladimír Marko <vmarko@google.com> 2023-10-19 11:19:39 +0000
committer Vladimír Marko <vmarko@google.com> 2023-10-19 14:43:40 +0000
commit7a718338b7654b58b38287de81465b98b5f916d7 (patch)
tree4fbbdddc0a583810c704bd66c80da802d7d63d79 /compiler/optimizing/optimizing_compiler.cc
parenta0023fb187b767364ad2e69e2998f7c3180c27ed (diff)
Reland "riscv64: [codegen] Rewrite and enable Select."
This reverts commit 98c15524d7da162dd2571fbeed0e3d7c713a6b75. Reason for revert: Reland with a fix - delay `AsCondition()` call to avoid triggering a DCHECK(). Test: m # aosp_cf_riscv64_phone-userdebug Test: # Edit `run-test` to disable checker, then testrunner.py --target --64 --ndebug --optimizing # Ignore 6 pre-existing failures. Bug: 283082089 Change-Id: I5a270f23d43786e0b422f8fb697a7113c423f1d6
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index 0fea53c247..bc0a66f7db 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -770,6 +770,7 @@ static bool CanAssembleGraphForRiscv64(HGraph* graph) {
case HInstruction::kExit:
case HInstruction::kGoto:
case HInstruction::kPackedSwitch:
+ case HInstruction::kSelect:
case HInstruction::kTryBoundary:
case HInstruction::kClearException:
case HInstruction::kLoadException: