[llvm] bd49bba - [ORC][unittests] Skip the ReOptimizeLayerTest for RISC-V (#134702)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 02:09:22 PDT 2025
Author: Kashyap Chamarthy
Date: 2025-04-17T11:09:18+02:00
New Revision: bd49bbaaafc98433a2cb4e95ce25b7a201baf5a5
URL: https://github.com/llvm/llvm-project/commit/bd49bbaaafc98433a2cb4e95ce25b7a201baf5a5
DIFF: https://github.com/llvm/llvm-project/commit/bd49bbaaafc98433a2cb4e95ce25b7a201baf5a5.diff
LOG: [ORC][unittests] Skip the ReOptimizeLayerTest for RISC-V (#134702)
David Abdurachmanov reports[1] that we hit this error on P550 hardware:
/builddir/build/BUILD/llvm-20.1.1-build/llvm-project-20.1.1.src/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp:140:
Failure
Value of: llvm::detail::TakeError(RM.takeError())
Expected: succeeded
Actual: failed (Architecture not supported) (of type
llvm::detail::ErrorHolder)
Tom Stellard noted[2] that he's seen this before on other architectures
and suggested to skip it.
[1] https://src.fedoraproject.org/rpms/llvm/pull-request/408#comment-255547
[2] https://src.fedoraproject.org/rpms/llvm/pull-request/408#comment-255557
Signed-off-by: Kashyap Chamarthy <kchamart at redhat.com>
Added:
Modified:
llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
index 78dc0f24c0f99..a7edac29d1e99 100644
--- a/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp
@@ -55,6 +55,10 @@ class ReOptimizeLayerTest : public testing::Test {
if (Triple.isPPC())
GTEST_SKIP();
+ // RISC-V is not supported yet
+ if (Triple.isRISCV())
+ GTEST_SKIP();
+
auto EPC = SelfExecutorProcessControl::Create();
if (!EPC) {
consumeError(EPC.takeError());
More information about the llvm-commits
mailing list