Skip to content

[DAGCombiner] Remove reduceBuildVecConvertToConvertBuildVec and rely on the vectorizers instead #35080

Closed
@RKSimon

Description

@RKSimon
Bugzilla Link 35732
Resolution FIXED
Resolved on May 24, 2021 06:47
Version trunk
OS Windows NT
Blocks #48425
CC @alexey-bataev,@anton-afanasyev,@efriedma-quic,@hfinkel,@darkbuck,@rotateright
Fixed by commit(s) 345964, ab2c499

Extended Description

reduceBuildVecConvertToConvertBuildVec vectorizes int2float in the DAGCombiner, which means that even if the LV/SLP has decided to keep scalar code, this will override this.

While there are cases where vectorization is necessary in the DAG (mainly due to legalization artefacts), I don't think this is the case here. I think we should get rid of this and instead assume that the vectorizers know what they are doing.

SVN blame says this code was added back in 2012.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions