Skip to content

[DAG] combineVSelectWithAllOnesOrZeros - missing freeze #150069

@RKSimon

Description

@RKSimon

With #145298 we forgot to ensure that the selected operand was frozen - see foldVSelectToSignBitSplatMask for reference

I've included the alive2 for the select Cond, -1, x → or Cond, x fold here: https://alive2.llvm.org/ce/z/fwT9Si - but you should confirm the other 2 folds require this as well.

CC @woruyu

Metadata

Metadata

Assignees

Labels

good first issuehttps://github.com/llvm/llvm-project/contributellvm:SelectionDAGSelectionDAGISel as well

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions