Skip to content

lima: ppir: don't lower {b,f}csel to scalar if condition is scalar

Utgard PP has vector fcsel operation, but its condition is scalar.

This MR adds instruction filtering callback to nir_lower_alu_to_scalar pass to add more flexibility in filtering instructions that have to be lowered and utilizes this callback to filter out {b,f}csels that don't have to be lowered to scalar.

Merge request reports

Loading