This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Update EmitSVEPredicateCast to take a ScalableVectorType
ClosedPublic

Authored by ctetreau on Apr 27 2020, 12:52 PM.

Details

Summary

Removes usage of VectorType::getNumElements identified by test located
at CodeGen/aarch64-sve-intrinsics/acle_sve_abs.c. Since the type is an
SVE predicate vector, it makes sense to specialize the code for scalable
vectors only.

Diff Detail

Event Timeline

ctetreau created this revision.Apr 27 2020, 12:52 PM
Herald added a reviewer: efriedma. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Apr 27 2020, 1:25 PM
This revision was automatically updated to reflect the committed changes.