This relaxes some asserts about sizes, and adds an optional subreg parameter to buildCopy().
Also update AArch64 instruction selector to use this in places where we previously used MachineInstrBuilder manually.
Paths
| Differential D59434
[GlobalISel] Allow MachineIRBuilder to build subregister copies ClosedPublic Authored by aemerson on Mar 15 2019, 2:44 PM.
Details Summary This relaxes some asserts about sizes, and adds an optional subreg parameter to buildCopy(). Also update AArch64 instruction selector to use this in places where we previously used MachineInstrBuilder manually.
Diff Detail
Event TimelineHerald added subscribers: Petar.Avramovic, volkan, hiraditya and 3 others. · View Herald TranscriptMar 15 2019, 2:44 PM This revision is now accepted and ready to land.Mar 15 2019, 2:48 PM Closed by commit rL356304: [GlobalISel] Allow MachineIRBuilder to build subregister copies. (authored by aemerson). · Explain WhyMar 15 2019, 3:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 190909 llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/trunk/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
|