google / google/heir

Loop Transformation: Add support for do-while loops

Open
#846 1 comment 0 reactions 1 assignee Claimed by @MeronZerihun View on GitHub
Dominant language
MLIR
Stars
906
Forks
171
Avg merge
4d 12h
Merged PRs (30d)
32

Description

The current loop transformation for `scf.while` only supports while loops, where the "before" region only contains operations related to generating a condition, which is used as an operand in the `scf.condition` operation. However, this transformation does not support do-while loops, where the "before" region can include more operations that updates argument(s) that maybe used in the "after" region. The transformation is part of this data-oblivious transformation pipeline #777.

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.