Skip to content

[WIP][DAG] combineVSelectWithAllOnesOrZeros - fold "select Cond, 0, x -> and not(Cond), x" #146831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RKSimon
Copy link
Collaborator

@RKSimon RKSimon commented Jul 3, 2025

Extend #145298 to remove the x86 combineVSelectWithLastZeros special case

WIP - still a couple of x86 regressions to address wrt unnecessary duplicated comparisons

Fixes #144513

… -> and not(Cond), x"

Extend llvm#145298 to remove the x86 combineVSelectWithLastZeros special case

WIP - still a couple of x86 regressions to address wrt unnecessary duplicated comparisons

Fixes llvm#144513
@RKSimon RKSimon force-pushed the dag-vselect-andnot branch from 05f0541 to 0336d2e Compare July 3, 2025 10:31
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.

[DAG] Refactor X86 combineVSelectWithAllOnesOrZeros fold into a generic DAG Combine
1 participant