HomePhabricator

[DAG] scalarizeBinOpOfSplats - extract from the source of splat vector (PR46189)

Authored by RKSimon on Jun 4 2020, 3:49 AM.

Description

[DAG] scalarizeBinOpOfSplats - extract from the source of splat vector (PR46189)

D79003/rG9fa58d1bf2f8 exposed an issue with scalarizeBinOpOfSplats that we were extracting from the splatted vector result instead of the source, the splat index is only valid for the source vector not the result, which may contain undefs, including at the splat index.

Details

Committed
RKSimonJun 4 2020, 3:58 AM
Parents
rG87e24c320089: Revert "[DAGCombiner] avoid unnecessary indirection from SDNode/SDValue; NFCI"
Branches
Unknown
Tags
Unknown