HomePhabricator

[NFC][InstSimplify] Refactoring ThreadCmpOverSelect function

Authored by dendibakh on Dec 12 2019, 1:45 PM.

Description

[NFC][InstSimplify] Refactoring ThreadCmpOverSelect function

Removed code duplication in ThreadCmpOverSelect and broke it
into several smaller functions for reusing them.

Differential Revision: https://reviews.llvm.org/D71158