This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Add asserts to verify the vectorness of input and output types of TRUNCATE/ZERO_EXTEND/ANY_EXTEND/SIGN_EXTEND agree
ClosedPublic

Authored by craig.topper on May 2 2019, 1:57 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.May 2 2019, 1:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2019, 1:57 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
spatel accepted this revision.May 2 2019, 2:27 PM

Could make a cast op helper for repeated asserts (including existing ones before this patch), but this LGTM - more asserts, less cryptic crashing.

This revision is now accepted and ready to land.May 2 2019, 2:27 PM
RKSimon accepted this revision.May 2 2019, 2:56 PM

LGTM

This revision was automatically updated to reflect the committed changes.