This is an archive of the discontinued LLVM Phabricator instance.

[LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector
ClosedPublic

Authored by Jimerlife on May 11 2022, 1:29 AM.

Details

Summary

Replace getVectorNumElements with getVectorElementCount to enable WidenVecRes_SETCC work for scalable vector.

Diff Detail

Event Timeline

Jimerlife created this revision.May 11 2022, 1:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 1:29 AM
Jimerlife requested review of this revision.May 11 2022, 1:29 AM
frasercrmck accepted this revision.May 11 2022, 2:35 AM

LGTM but I don't think you need to say [RISCV] in the title.

This revision is now accepted and ready to land.May 11 2022, 2:35 AM
Jimerlife retitled this revision from [RISCV][LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector to [LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector.May 11 2022, 7:07 PM

LGTM but I don't think you need to say [RISCV] in the title.

Thanks, removed [RISCV] in the title.

This revision was landed with ongoing or failed builds.May 11 2022, 7:53 PM
This revision was automatically updated to reflect the committed changes.