Hi,
First of all, a small detail here that might be important: The --turboshaft flag (enabled by default) runs the a large section of the compilation pipeline (up to, but excluding instruction selection) using the new Turboshaft infrastructure. In order to run instruction selection on the Turboshaft CFG produced by the pipeline, the --turboshaft-instruction-selection flag (also enabled by default now) must be set. Otherwise we convert back to the old TurboFan sea-of-nodes graph and select on this. We will drop this fallback solution in the near future, though.
Now, when it comes to the instruction selector unit tests, those cannot just be flipped by providing those flags as they are specifically built for TurboFan. Those need some adjustment to run with the Turboshaft instruction selection. For an example see the port of the x64 unit tests in turboshaft-instruction-selector-x64-unittest.cc.
Hope that helps,
Nico