HomePhabricator

[AArch64][GlobalISel] Refactor selectBuildVector to use MachineIRBuilder. NFC.

Authored by aemerson on Feb 25 2019, 10:52 AM.

Description

[AArch64][GlobalISel] Refactor selectBuildVector to use MachineIRBuilder. NFC.

This is a preparatory change as I want to use emitScalarToVector() elsewhere,
and in general we want to transition to MIRBuilder instead of using BuildMI
directly.

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

llvm-svn: 354807