This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombiner] Replace LegalOperations check in visitSIGN_EXTEND with LegalTypes.
ClosedPublic

Authored by craig.topper on Mar 1 2023, 8:12 PM.

Details

Summary

This is guarding a check for isTypeLegal so it should check is
LegalTypes.

Fixes PR61111.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 1 2023, 8:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 8:12 PM
craig.topper requested review of this revision.Mar 1 2023, 8:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 8:12 PM
RKSimon accepted this revision.Mar 2 2023, 2:04 AM

LGTM

This revision is now accepted and ready to land.Mar 2 2023, 2:04 AM