GlobalISel: translate insertvalue instructions.
authorTim Northover <tnorthover@apple.com>
Fri, 19 Aug 2016 20:08:55 +0000 (20:08 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 19 Aug 2016 20:08:55 +0000 (20:08 +0000)
commitbbbfb1cfb85f5cd3166b6536eeb88f1cbe4f29ad
tree0c22edf783120262f91cdc7e54e2f152e387ef68
parent68726a5359270d877a8cddc61e38d179f79dc070
GlobalISel: translate insertvalue instructions.

This adds a G_INSERT instruction, which technically makes G_SEQUENCE redundant
(it's equivalent to a G_INSERT into an IMPLICIT_DEF). We'll leave G_SEQUENCE
for now though: it's likely to be far more common as it's a fundamental part of
legalization, so avoiding the mess and bloat of the extra IMPLICIT_DEFs is
probably worthwhile.

llvm-svn: 279306
llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/include/llvm/Target/GenericOpcodes.td
llvm/include/llvm/Target/TargetOpcodes.def
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll