GlobalISel: add a G_PHI instruction to give phis a type.
authorTim Northover <tnorthover@apple.com>
Thu, 1 Sep 2016 20:45:41 +0000 (20:45 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 1 Sep 2016 20:45:41 +0000 (20:45 +0000)
commit8d8812c5d7e546b40e0549fd3d82f74c7f6d4ba5
tree1dc7afdc4727c92305b1d874892b96e545d684e5
parentbc555b7ebe054eb5fde6548b299a622fad66de34
GlobalISel: add a G_PHI instruction to give phis a type.

They're another source of generic vregs, which are going to need a type on the
definition when we remove the register width from MachineRegisterInfo.

llvm-svn: 280412
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/include/llvm/Target/GenericOpcodes.td
llvm/include/llvm/Target/TargetOpcodes.def
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll