Add isExtractSubreg property.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 21:51:26 +0000 (21:51 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 21:51:26 +0000 (21:51 +0000)
commitdac67649f271cc085f61d450c649a3ca271c8828
tree43787afd695233b79dd2acbe8a4cb411cc33caf7
parentfa210acc3b12fc651252de566bb6e3381d9a3097
Add isExtractSubreg property.

This patch adds a new property: isExtractSubreg and the related target hooks:
TargetIntrInfo::getExtractSubregInputs and
TargetInstrInfo::getExtractSubregLikeInputs to specify that a target specific
instruction is a (kind of) EXTRACT_SUBREG.

The approach is similar to r215394.

<rdar://problem/12702965>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216130 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
include/llvm/MC/MCInstrDesc.h
include/llvm/Target/Target.td
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/TargetInstrInfo.cpp
utils/TableGen/CodeGenInstruction.cpp
utils/TableGen/CodeGenInstruction.h
utils/TableGen/InstrInfoEmitter.cpp