Skip to content

xls/dslx/ir_convert: Propagate SourceInfo to converted function Param nodes - #5416

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1021685608
Nov 18, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1021685608

Conversation

@copybara-service

Copy link
Copy Markdown

xls/dslx/ir_convert: Propagate SourceInfo to converted function Param nodes

Pass the parameter's SourceInfo (loc) to FunctionBuilder::Param in FunctionConverter::HandleParam and EmitImplicitTokenEntryWrapper so that IR Param nodes (and downstream input ports and pipeline input registers in codegen) retain their DSLX source locations.

Refs #5413

@copybara-service
copybara-service Bot force-pushed the test_1021685608 branch 4 times, most recently from 9ab7e08 to b97ca13 Compare November 18, 2026 14:12
… nodes

Pass the parameter's `SourceInfo` (`loc`) to `FunctionBuilder::Param` in `FunctionConverter::HandleParam` and `EmitImplicitTokenEntryWrapper` so that IR `Param` nodes (and downstream input ports and pipeline input registers in codegen) retain their DSLX source locations.

Refs #5413

PiperOrigin-RevId: 1024657936
@copybara-service
copybara-service Bot merged commit c8dd021 into main Nov 18, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_1021685608 branch November 18, 2026 15:48

This branch was previously deployed

1 inactive deployment
github-pages — c8dd021c Deployed Nov 18, 2026 by copybara-service[bot] via deploy #14577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant