Skip to content

[VPlan] Add new VPScalarCastRecipe, use for IV & step trunc.#78113

Merged
fhahn merged 15 commits intollvm:mainfrom
fhahn:vpuniformforuf-recipe
Jan 26, 2024
Merged

[VPlan] Add new VPScalarCastRecipe, use for IV & step trunc.#78113
fhahn merged 15 commits intollvm:mainfrom
fhahn:vpuniformforuf-recipe

Conversation

@fhahn
Copy link
Copy Markdown
Contributor

@fhahn fhahn commented Jan 14, 2024

Add a new recipe to model scalar cast instructions, without relying on an underlying instruction.

This allows creating scalar casts, without relying on an underlying instruction (like the current
VPReplicateRecipe). The new recipe is used to explicitly model both truncating the induction step
and the VPDerivedIVRecipe, thus simplifying both the recipe and code needed to introduce it.

Truncating VPWidenIntOrFpInductionRecipes should also be modeled using the new recipe, as
follow-up.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants