HomePhabricator

[GlobalISel] Add buildMerge with SrcOp initializer list

Authored by Petar.Avramovic on Feb 7 2020, 8:38 AM.

Description

[GlobalISel] Add buildMerge with SrcOp initializer list

Allows more flexible use of buildMerge in places where
use operands are available as SrcOp since it does not
require explicit conversion to Register.
Simplify code with new buildMerge.

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