aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/IRModule.h
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2025-01-12 18:30:42 +0000
committerJacques Pienaar <jpienaar@google.com>2025-01-12 18:30:42 +0000
commit3f1486f08e0dd64136fb7f50e38cd618dd0255d2 (patch)
tree78b902b43209d56458f286496b18a7bd8f4f8527 /mlir/lib/Bindings/Python/IRModule.h
parent1d2eea962ac9724350f025f4c70808d42a435289 (diff)
downloadllvm-3f1486f08e0dd64136fb7f50e38cd618dd0255d2.zip
llvm-3f1486f08e0dd64136fb7f50e38cd618dd0255d2.tar.gz
llvm-3f1486f08e0dd64136fb7f50e38cd618dd0255d2.tar.bz2
Revert "Added free-threading CPython mode support in MLIR Python bindings (#107103)"
Breaks on 3.8, rolling back to avoid breakage while fixing. This reverts commit 9dee7c44491635ec9037b90050bcdbd3d5291e38.
Diffstat (limited to 'mlir/lib/Bindings/Python/IRModule.h')
-rw-r--r--mlir/lib/Bindings/Python/IRModule.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mlir/lib/Bindings/Python/IRModule.h b/mlir/lib/Bindings/Python/IRModule.h
index f5fbb6c..8fb32a2 100644
--- a/mlir/lib/Bindings/Python/IRModule.h
+++ b/mlir/lib/Bindings/Python/IRModule.h
@@ -260,7 +260,6 @@ private:
// Note that this holds a handle, which does not imply ownership.
// Mappings will be removed when the context is destructed.
using LiveContextMap = llvm::DenseMap<void *, PyMlirContext *>;
- static nanobind::ft_mutex live_contexts_mutex;
static LiveContextMap &getLiveContexts();
// Interns all live modules associated with this context. Modules tracked