OSDN Git Service

GlobalISel: restrict G_EXTRACT instruction to just one operand.
authorTim Northover <tnorthover@apple.com>
Mon, 6 Mar 2017 23:50:28 +0000 (23:50 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 6 Mar 2017 23:50:28 +0000 (23:50 +0000)
commit2c87ca8a0e5622f2129f0b74215d326fc024b5d1
tree1bf5f76240d455413f91201d5fc9bf7380c6340d
parenta5015a41863187188de8d824a32d3d769ead1114
GlobalISel: restrict G_EXTRACT instruction to just one operand.

A bit more painful than G_INSERT because it was more widely used, but this
should simplify the handling of extract operations in most locations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297100 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
include/llvm/Target/GenericOpcodes.td
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
lib/Target/AArch64/AArch64CallLowering.cpp
lib/Target/AArch64/AArch64CallLowering.h
lib/Target/ARM/ARMCallLowering.cpp
lib/Target/ARM/ARMInstructionSelector.cpp
lib/Target/ARM/ARMRegisterBankInfo.cpp
lib/Target/X86/X86CallLowering.cpp
lib/Target/X86/X86CallLowering.h
test/CodeGen/AArch64/GlobalISel/call-translator.ll
test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
test/CodeGen/AArch64/GlobalISel/legalize-combines.mir
test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
test/CodeGen/ARM/GlobalISel/arm-isel.ll
test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir
test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
test/CodeGen/X86/GlobalISel/irtranslator-callingconv_64bit.ll