google / google/heir

OptimizeRelinearization is incompatible with loops

Open
#2,600 1 comment 0 reactions 0 assignees View on GitHub
newcomer project
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

As of https://github.com/google/heir/pull/2561/, when loop support is enabled the relinearization optimizer is skipped. Relin ops inside the loop body get deleted. Likely the pass needs to be updated to process each basic block separately, and recursively handle loop bodies as their own independent basic block.

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.