This is an archive of the discontinued LLVM Phabricator instance.

[SCCP] Remove code redundancy in resolvedUndefsIn
AbandonedPublic

Authored by ksyx on Jun 15 2021, 7:17 AM.

Details

Reviewers
lattner
fhahn
Summary

Merge similar logic at the end of processing each type of switch/branch instructions into one to make code more clear.

Diff Detail

Event Timeline

ksyx created this revision.Jun 15 2021, 7:17 AM
ksyx requested review of this revision.Jun 15 2021, 7:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2021, 7:17 AM

I'd prefer it if someone else could review this code. It has been a very long time since I've touched it.

ksyx updated this revision to Diff 352304.Jun 15 2021, 5:38 PM

refactor: apply clang format

fhahn requested changes to this revision.Sep 26 2022, 6:18 AM

I think the relevant code has been removed/refactored.

This revision now requires changes to proceed.Sep 26 2022, 6:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 6:18 AM