This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Fixed cast<FixedVectorType> on scalable vector in SelectionDAGBuilder::getUniformBase
ClosedPublic

Authored by DylanFleming-arm on Jul 2 2021, 7:54 AM.

Diff Detail

Event Timeline

DylanFleming-arm requested review of this revision.Jul 2 2021, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 2 2021, 7:54 AM
sdesmalen added inline comments.Jul 5 2021, 3:25 AM
llvm/test/CodeGen/AArch64/sve-masked-scatter.ll
76

nit: please rename it to something like masked_scatter_splat_constant_pointer to make it clear it is specifically testing a splat(constant) pointer.

89–92

The control-flow can be removed from this function.

96

can this be passed in as an argument, e.g. <vscale x 4 x i1> %pg

97

remove.

Renamed test function
Cleaned up control flow

This revision is now accepted and ready to land.Jul 5 2021, 6:28 AM