This was painful to get working correctly, but it no longer segfaults and passes the same tests as the non-linalg lowering pass.
This is just a first step. All the other operations need to be converted to use linalg.generic as well. But this shows the pattern and that work should go much faster.
This was painful to get working correctly, but it no longer segfaults and passes the same tests as the non-linalg lowering pass.
This is just a first step. All the other operations need to be converted to use linalg.generic as well. But this shows the pattern and that work should go much faster.