Skip to content

Conversation

@jayfoad
Copy link
Contributor

@jayfoad jayfoad commented Feb 13, 2024

fminimum/fmaximum are only legal on some subtargets. This patch only
enables the DAG combines for fminimum3/fmaximum3 on those subtargets.

Without this, the combine can kick in before legalization, and then
nothing will legalize the target-specific fminimum3/fmaximum3 nodes.

fminimum/fmaximum are only legal on some subtargets. This patch only
enables the DAG combines for fminimum3/fmaximum3 on those subtargets.

Without this, the combine can kick in before legalization, and then
nothing will legalize the target-specific fminimum3/fmaximum3 nodes.
@jayfoad
Copy link
Contributor Author

jayfoad commented Feb 13, 2024

Other possible approaches:

  • implement legalization for fminimum3/fmaximum3
  • only do the combine post-legalization

I'm not sure which approach is best.

@jayfoad
Copy link
Contributor Author

jayfoad commented Feb 13, 2024

This probably isn't much use until #67301 lands.

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.

1 participant