Skip to content

Commit cbd18ff

Browse files
yoneymeta-codesync[bot]
authored andcommitted
Enable RuntimeTests for Python 3.14t
Summary: Make 3.14t part of the RuntimeTests Reviewed By: alexmalyshev Differential Revision: D114765259 fbshipit-source-id: f87a13418ea8da747452e61d35589f89a96d46f1
1 parent a8be80d commit cbd18ff

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cinderx/RuntimeTests/lir_postgen_test.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,10 @@ BB %6
167167
}
168168

169169
TEST_F(LIRPostGenerationRewriteTest, StrippedCallOperandsKeepLocalDefs) {
170-
#ifndef Py_GIL_DISABLED
170+
#if !defined(Py_GIL_DISABLED) || defined(CINDER_AARCH64)
171171
// Object pointer stripping is only enabled in free-threaded builds.
172+
// TODO: Make the post-allocation assertions independent of x86-64 register
173+
// assignments so this can run on free-threaded AArch64 builds.
172174
#else
173175
const char* lir_input_str = R"(Function:
174176
BB %0
@@ -264,6 +266,9 @@ BB %0
264266

265267
#if defined(CINDER_AARCH64)
266268
TEST_F(LIRPostGenerationRewriteTest, MoveAbsoluteAddressUsesObjectDataType) {
269+
#ifdef Py_GIL_DISABLED
270+
// TODO: Add the expected deferred-reference-count tag stripping.
271+
#else
267272
const char* lir_input_str = R"(Function:
268273
BB %0
269274
%10:Object = Move [0x12345]
@@ -279,6 +284,7 @@ BB %0
279284
)";
280285

281286
EXPECT_EQ(runPostGenRewriteStr(lir_input_str), expected_lir_str);
287+
#endif
282288
}
283289
#endif
284290

0 commit comments

Comments
 (0)