HomePhabricator

[JumpThreading] Factor out code to merge basic blocks (NFC)

Authored by kazu on Tue, Nov 5, 9:46 AM.

Description

[JumpThreading] Factor out code to merge basic blocks (NFC)

Summary:
This patch factors out code to merge a basic block with its sole
successor -- partly for readability and partly to facilitate an
upcoming patch of my own.

Reviewers: wmi

Subscribers: hiraditya, jfb, llvm-commits

Tags: #llvm

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