summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.cpp
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.cpp
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.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 179858d7632..20edef5a71c 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.cpp
+++ b/llvm/utils/TableGen/CodeGenInstruction.cpp
@@ -315,6 +315,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R)
hasCtrlDep = R->getValueAsBit("hasCtrlDep");
isNotDuplicable = R->getValueAsBit("isNotDuplicable");
isRegSequence = R->getValueAsBit("isRegSequence");
+ isExtractSubreg = R->getValueAsBit("isExtractSubreg");
bool Unset;
mayLoad = R->getValueAsBitOrUnset("mayLoad", Unset);
OpenPOWER on IntegriCloud