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.
LGTM other than some formatting stuff which doesn't really matter. If clang-format did it, then I have no power to argue against it.
|1720–1722 ↗||(On Diff #187871)|
Did clang-format actually do this?
|2097–2100 ↗||(On Diff #187871)|
Formatting looks odd here? In my experience, clang-format would probably indent the .addWhatevers, but meh who knows