Hi I'm looking for missed optimization opportunities in Cranelift's mid-end.
I'm considering the correctness of (possible) new optimization (simplifying) rules.
AFAIK, crocus
will be a good toolkit to reason about correctness.
But I also want to listen about other perspectives that I might be missing such as performance, cost model, etc,
as I'm not aware of any tools/methodologies for them in Cranelift.
So far, I've read the doc so I know some rules stated there, such as using subsume
or so.
Just small suggestions or comments will be appreciated.
Thanks!
we can also run the souper synthesizer on clif, that could be good to investigate some more:
Thanks you for the comment. I think that is the good place to start.
Last updated: Apr 08 2025 at 08:04 UTC