aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-07-06 23:23:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-07-06 23:23:38 +0000
commitc419bd3396cc035942b219efae30dd2890ae430f (patch)
treece12f6a54c3cd1fd27b84e2a2c759d7698cc1ff4 /utils
parent4b9cb7d135fbd0fbecbf8579d741e15e4b02f176 (diff)
downloadexternal_llvm-c419bd3396cc035942b219efae30dd2890ae430f.zip
external_llvm-c419bd3396cc035942b219efae30dd2890ae430f.tar.gz
external_llvm-c419bd3396cc035942b219efae30dd2890ae430f.tar.bz2
ImmutablePredicateOperand is no more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/CodeGenTarget.cpp3
-rw-r--r--utils/TableGen/InstrInfoEmitter.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp
index e4d80ee..18e11bd 100644
--- a/utils/TableGen/CodeGenTarget.cpp
+++ b/utils/TableGen/CodeGenTarget.cpp
@@ -412,8 +412,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
NumOps = NumArgs;
if (Rec->isSubClassOf("PredicateOperand")) {
- if (!Rec->getValueAsBit("isImmutable"))
- isPredicable = true;
+ isPredicable = true;
}
} else if (Rec->getName() == "variable_ops") {
hasVariableNumberOfOperands = true;
diff --git a/utils/TableGen/InstrInfoEmitter.cpp b/utils/TableGen/InstrInfoEmitter.cpp
index a57770d..af01e4c 100644
--- a/utils/TableGen/InstrInfoEmitter.cpp
+++ b/utils/TableGen/InstrInfoEmitter.cpp
@@ -107,8 +107,7 @@ InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
// Predicate operands. Check to see if the original unexpanded operand
// was of type PredicateOperand.
- if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand") &&
- !Inst.OperandList[i].Rec->getValueAsBit("isImmutable"))
+ if (Inst.OperandList[i].Rec->isSubClassOf("PredicateOperand"))
Res += "|M_PREDICATE_OPERAND";
// Fill in constraint info.