Issue |
150069
|
Summary |
[DAG] combineVSelectWithAllOnesOrZeros - missing freeze
|
Labels |
good first issue,
llvm:SelectionDAG
|
Assignees |
|
Reporter |
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
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs