From 9a728477f4e9aedceb687932132adb8abe3de6a7 Mon Sep 17 00:00:00 2001 From: Maurice Jamieson Date: Tue, 23 Jul 2024 09:51:43 +0100 Subject: [PATCH] Moved xdsl.py out of src directory to example directory --- examples/xdsl/backend/__init__.py | 0 {src/psyclone/psyir => examples/xdsl}/backend/xdsl.py | 0 examples/xdsl/xdsl_backends_transform.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 examples/xdsl/backend/__init__.py rename {src/psyclone/psyir => examples/xdsl}/backend/xdsl.py (100%) diff --git a/examples/xdsl/backend/__init__.py b/examples/xdsl/backend/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/psyclone/psyir/backend/xdsl.py b/examples/xdsl/backend/xdsl.py similarity index 100% rename from src/psyclone/psyir/backend/xdsl.py rename to examples/xdsl/backend/xdsl.py diff --git a/examples/xdsl/xdsl_backends_transform.py b/examples/xdsl/xdsl_backends_transform.py index 7ed32b07e3..b7f9e3e47d 100644 --- a/examples/xdsl/xdsl_backends_transform.py +++ b/examples/xdsl/xdsl_backends_transform.py @@ -35,7 +35,7 @@ from __future__ import print_function import sys from psyclone.psyir.nodes.routine import Routine -from psyclone.psyir.backend.xdsl import xDSLWriter +from backend.xdsl import xDSLWriter from xdsl.printer import Printer from xdsl.dialects.builtin import ModuleOp