summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-08-20 21:51:26 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-08-20 21:51:26 +0000
commit7e75cbaf47260f4bd22db4ac64d003e443cca672 (patch)
tree032ffe7bc6296a8a491c5d126ee147ff03873b25 /llvm/utils/TableGen/CodeGenInstruction.h
parente229ec5bfcc937d629d7706416108d02cc103bb4 (diff)
downloadbcm5719-llvm-7e75cbaf47260f4bd22db4ac64d003e443cca672.tar.gz
bcm5719-llvm-7e75cbaf47260f4bd22db4ac64d003e443cca672.zip
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> llvm-svn: 216130
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 e0a9044dbfa..649fbc29ce7 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -254,6 +254,7 @@ namespace llvm {
bool isCodeGenOnly : 1;
bool isPseudo : 1;
bool isRegSequence : 1;
+ bool isExtractSubreg : 1;
std::string DeprecatedReason;
bool HasComplexDeprecationPredicate;
OpenPOWER on IntegriCloud