Page MenuHomePhabricator

[NFC][IndVarSimplify] remove duplicate code in widenWithVariantLoadUseCodegen
ClosedPublic

Authored by zhongduo on Jan 13 2020, 2:21 PM.

Details

Summary

Duplicate code in widenWithVariantLoadUseCodegen is removed and also use assert to check unknown extension type as it should be filtered out by the pre condition check before calling this function.

Diff Detail

Event Timeline

zhongduo created this revision.Jan 13 2020, 2:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2020, 2:21 PM
efriedma accepted this revision.Jan 13 2020, 3:00 PM

LGTM. Do you have commit access?

This revision is now accepted and ready to land.Jan 13 2020, 3:00 PM
This revision was automatically updated to reflect the committed changes.