google / google/xls

ir_minimizer_main should be able to do simple x-proc return value simplifications

Open
#1,207 0 comments 0 reactions 0 assignees View on GitHub
enhancement fuzz
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

the minimizer cannot change the return type of subroutines (eg remove tuple elements). This can somewhat reduce the effectiveness of the minimization by leaving extra instructions to fill in these unneeded fields if the minimizer is unable to inline the invoke away.

It would be nice to support this by replacing uses of those fields in the caller with literals which can later be reduced away.

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.