HomePhabricator

[JumpThreading] Factor out code to clone instructions (NFC)

Authored by kazu on Wed, Nov 6, 2:16 PM.

Description

[JumpThreading] Factor out code to clone instructions (NFC)

Summary:
This patch factors out code to clone instructions -- 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/D69861

Details