DSLX IR converter unexpected naming convention
Open
dslx
ir
ux
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
I have a function called `fn donut_inner` in a file called `donut_rolled.x`. I call the IR converter like so:
`~/sw/xls/bazel-bin/xls/dslx/ir_converter_main donut_rolled.x --entry=donut_inner > donut_inner.ir`
I would expect that the top-level function would be named `fn donut_inner` like how I specified on the command line, but instead it is `fn __donut_rolled__donut_inner`.
Is there a way to get the correct naming behavior? My githash is 14d5f6e7ba1fd553cdfc9a0d5cb772c1c3ea75cf.
Contributor guide
Assessment
This issue has not been assessed yet.