daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

[DAPHNE-#854] Add Passes for Matrix Result Property Recording and Insertion in IR #855

Open StoeckOverflow opened 1 month ago

StoeckOverflow commented 1 month ago

Attention: This is a Draft PR and is still WIP

This Draft PR introduces two new passes: RecordPropertiesPass and InsertPropertiesPass. These passes enable the recording of runtime properties of matrix result objects and the reinsertion of these properties into the IR (Intermediate Representation) during subsequent runs. This process aims to improve optimization and analysis.

Changes:

Features:

Documentation:

Testing:

Problems:

// RUN: daphne-opt --insert-properties="<path to properties.json>" %s | FileCheck --check-prefix=CHECK-INSERTED
...

This approach did not work as expected, and further work is required to fix the issue.

The issue is still under investigation, and further debugging is required to find a proper solution.