https://github.com/davemgreen approved this pull request. LGTM. I would guess it was intended to be Value.getValueType() != VT.getScalarType(), but we already have combines for dup+extract -> duplane that should trigger if this comes up. https://github.com/llvm/llvm-project/pull/222418