Skip to content

Commit bd49bba

Browse files
authored
[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 <[email protected]>
1 parent c5e112e commit bd49bba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/unittests/ExecutionEngine/Orc/ReOptimizeLayerTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ class ReOptimizeLayerTest : public testing::Test {
5555
if (Triple.isPPC())
5656
GTEST_SKIP();
5757

58+
// RISC-V is not supported yet
59+
if (Triple.isRISCV())
60+
GTEST_SKIP();
61+
5862
auto EPC = SelfExecutorProcessControl::Create();
5963
if (!EPC) {
6064
consumeError(EPC.takeError());

0 commit comments

Comments
 (0)