OSDN Git Service

GlobalISel: convert buildSequence to use non-deprecated instructions.
authorTim Northover <tnorthover@apple.com>
Fri, 23 Jun 2017 16:15:37 +0000 (16:15 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 23 Jun 2017 16:15:37 +0000 (16:15 +0000)
commit5e24d2fee2bd8e06d7cc425e4e7cff99fcd47378
tree83ae3c6600c2e1929925a62591daf423da3946dc
parent910c8cc5329ce8c4a8b038c827aef07461996a5f
GlobalISel: convert buildSequence to use non-deprecated instructions.

G_SEQUENCE is going away soon so as a first step the MachineIRBuilder needs to
be taught how to emulate it with alternatives. We use G_MERGE_VALUES where
possible, and a sequence of G_INSERTs if not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306119 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/GlobalISel/call-translator.ll
test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll