Skip to content

feat(unroll): consume VfSim cost-model unroll factors via pto-unroll-loops - #4

Open
TelGome wants to merge 1 commit into
wang-chonghao:vmi-vfsim-costmodelfrom
TelGome:unroll_vmi
Open

feat(unroll): consume VfSim cost-model unroll factors via pto-unroll-loops#4
TelGome wants to merge 1 commit into
wang-chonghao:vmi-vfsim-costmodelfrom
TelGome:unroll_vmi

Conversation

@TelGome

@TelGome TelGome commented Sep 6, 2026

Copy link
Copy Markdown

Add pto.vfsim.unroll_factor as a second annotation source for pto-unroll-loops (consumed in a second run placed after the VfSim planner, before PTONarrowVPTOLoopCounters which is moved later since its i16 rewrite breaks the native index-IV unroll utility), drop the divisibility restriction in PTOUnrollAfterLoopFusion, and sync the three affected design docs. Test: vmi_vfsim_unroll_tadd_tmul.pto.

…loops

Add pto.vfsim.unroll_factor as a second annotation source for
pto-unroll-loops (consumed in a second run placed after the VfSim
planner, before PTONarrowVPTOLoopCounters which is moved later since
its i16 rewrite breaks the native index-IV unroll utility), drop the
divisibility restriction in PTOUnrollAfterLoopFusion, and sync the
three affected design docs. Test: vmi_vfsim_unroll_tadd_tmul.pto.
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