spcl / spcl/dace

Simplify removes an input view (connected through an input connector) without removing the output view (connected through the corresponding output connector) of a loop region.

Open
#2,145 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
593
Forks
163
Avg merge
2d 23h
Merged PRs (30d)
60

Description

**Describe the bug**

Simplify removes an input view (connected through an input connector) without removing the output view (connected through the corresponding output connector) of a loop region.

**To Reproduce**

With the `main` branch of DaCe, apply simplify to: [main.sdfg.zip](https://github.com/user-attachments/files/22256822/main.sdfg.zip)

Before: Image

After: Image

After this, the graph does not validate anymore.

**Expected behavior**

View removal would leave the graph in a valid state (or not remove anything at all).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.