This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add missing bitcasts to the results of lowerINSERT_SUBVECTOR and lowerEXTRACT_SUBVECTOR when handling mask vectors.
ClosedPublic

Authored by craig.topper on Mar 19 2021, 10:20 AM.

Details

Summary

Found by adding asserts to LegalizeDAG to catch incorrect result
types being returned.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 19 2021, 10:20 AM
craig.topper requested review of this revision.Mar 19 2021, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 10:20 AM
Herald added a subscriber: MaskRay. · View Herald Transcript
frasercrmck accepted this revision.Mar 19 2021, 10:25 AM

LGTM. Sorry about that.

This revision is now accepted and ready to land.Mar 19 2021, 10:25 AM
This revision was landed with ongoing or failed builds.Mar 19 2021, 10:55 AM
This revision was automatically updated to reflect the committed changes.