Skip to content

[KB] Default linalg-to-loops pipeline#223

Merged
rengolin merged 2 commits into
llvm:mainfrom
rengolin:kb_cpu_pipeline
Jul 13, 2026
Merged

[KB] Default linalg-to-loops pipeline#223
rengolin merged 2 commits into
llvm:mainfrom
rengolin:kb_cpu_pipeline

Conversation

@rengolin

Copy link
Copy Markdown
Member

Move the default loops lowering to Lighthouse Descriptor/Driver so that any user of lighthouse can have a reasonable behavior without having to build their own basic pipeline for loops lowering.

Advanced/optimizing pipelines will need to be built anyway, but they can also already use the internal components already.

Later we'll have to decide if we move the kernel bench schedules inside the lighthouse search path, or publish them as a separate thing and inform the user of the search path. For now, external users can just call the linalg-to-loops.yaml by name, which is the point now.

Move the default loops lowering to Lighthouse Descriptor/Driver so that any user of lighthouse can have a reasonable behaviour without having to build their own pipeline for basic lowering.

Advanced/optimizing pipelines will need to be built anyway, but they can also already use the internal components anyway.
@rengolin
rengolin requested a review from adam-smnk July 10, 2026 15:43
Comment thread lighthouse/pipeline/descriptors/scalar-lowering.yaml
- rename linalg-to-loops to scalar-lowering
- add TOSA pipeline to make it more generic
- rename llvm_lowering to llvm-lowering
@rengolin
rengolin merged commit f61e05a into llvm:main Jul 13, 2026
3 checks passed
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.

2 participants