google / google/xls

Parametric values have invalid manglings into IR symbols

Open
#460 0 comments 0 reactions 0 assignees View on GitHub
bug dslx
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

Previously the parametric values were positive integral, but now we're supporting more arbitrary `InterpValue`s, so we need to either define mangling policies for InterpValues into valid IR symbols or allow collisions to be avoided in IR symbols via attributes.

Sample that errors:

`fn __sample__x4__-76582139(x5: (bits[22])) -> (bits[1], bits[1], bits[28]) {`

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.