We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ca3a7 commit cdbbbe3Copy full SHA for cdbbbe3
2 files changed
Python/pylifecycle.c
@@ -1721,7 +1721,7 @@ finalize_modules(PyThreadState *tstate)
1721
PyInterpreterState *interp = tstate->interp;
1722
1723
// Invalidate all executors and turn off JIT:
1724
- interp->jit = 0;
+ FT_ATOMIC_STORE_UINT8(interp->jit, 0);
1725
interp->compiling = false;
1726
#ifdef _Py_TIER2
1727
_Py_Executors_InvalidateAll(interp, 0);
Tools/jit/_optimizers.py
@@ -562,8 +562,7 @@ def run(self) -> None:
562
for _ in range(4):
563
self._invert_hot_branches()
564
self._remove_redundant_jumps()
565
- # FIXME (gh-141594): Breaks LLVM on FT builds
566
- # self._remove_unreachable()
+ self._remove_unreachable()
567
self._fixup_external_labels()
568
self._fixup_constants()
569
self.path.write_text(self._body())
0 commit comments