summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-08-20 23:49:36 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-08-20 23:49:36 +0000
commit7e3da6677a4239da77ea83e7005a603618e7a725 (patch)
tree6ffcec69fcaaaf80a4ea604ee8f617bdbd9b3231 /llvm/utils/TableGen/CodeGenInstruction.cpp
parent44937d98a30c5ad8b6fdcdfece07228b159fbf24 (diff)
downloadbcm5719-llvm-7e3da6677a4239da77ea83e7005a603618e7a725.tar.gz
bcm5719-llvm-7e3da6677a4239da77ea83e7005a603618e7a725.zip
Add isInsertSubreg property.
This patch adds a new property: isInsertSubreg and the related target hooks: TargetIntrInfo::getInsertSubregInputs and TargetInstrInfo::getInsertSubregLikeInputs to specify that a target specific instruction is a (kind of) INSERT_SUBREG. The approach is similar to r215394. <rdar://problem/12702965> llvm-svn: 216139
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp
index 20edef5a71c..d567ddea58b 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.cpp
+++ b/llvm/utils/TableGen/CodeGenInstruction.cpp
@@ -316,6 +316,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R)
isNotDuplicable = R->getValueAsBit("isNotDuplicable");
isRegSequence = R->getValueAsBit("isRegSequence");
isExtractSubreg = R->getValueAsBit("isExtractSubreg");
+ isInsertSubreg = R->getValueAsBit("isInsertSubreg");
bool Unset;
mayLoad = R->getValueAsBitOrUnset("mayLoad", Unset);
OpenPOWER on IntegriCloud