HomePhabricator

[IR] Add IRBuilderBase::CreateVectorSplat(ElementCount EC) variant

Authored by RKSimon on Aug 2 2020, 8:55 AM.

Description

[IR] Add IRBuilderBase::CreateVectorSplat(ElementCount EC) variant

As discussed on D81500, this adds a more general ElementCount variant of the build helper and converts the (non-scalable) unsigned NumElts variant to use it internally.

Details

Committed
RKSimonAug 2 2020, 8:55 AM
Parents
rG4abc69c6f541: [InstSimplify] fold max (max X, Y), X --> max X, Y
Branches
Unknown
Tags
Unknown