summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.h
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.h
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.h')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 649fbc29ce7..92aac5fed33 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -255,6 +255,7 @@ namespace llvm {
bool isPseudo : 1;
bool isRegSequence : 1;
bool isExtractSubreg : 1;
+ bool isInsertSubreg : 1;
std::string DeprecatedReason;
bool HasComplexDeprecationPredicate;
OpenPOWER on IntegriCloud