aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorPaul C. Anagnostopoulos <paul@windfall.com>2020-12-31 14:50:51 -0500
committerPaul C. Anagnostopoulos <paul@windfall.com>2021-01-07 09:31:27 -0500
commitaa7968a87b65f97c1245348f6c2a75fc9e420bb5 (patch)
tree1f1a8e9f72ab168922ef625715eda16e31921e80 /llvm/utils/TableGen/CodeEmitterGen.cpp
parentb73736a4048172c48b6b5c23d1321f230d442306 (diff)
downloadllvm-aa7968a87b65f97c1245348f6c2a75fc9e420bb5.zip
llvm-aa7968a87b65f97c1245348f6c2a75fc9e420bb5.tar.gz
llvm-aa7968a87b65f97c1245348f6c2a75fc9e420bb5.tar.bz2
[TableGen] Add field kind to the RecordVal class.
Differential Revision: https://reviews.llvm.org/D93969
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--llvm/utils/TableGen/CodeEmitterGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp
index 2433420..53bf953 100644
--- a/llvm/utils/TableGen/CodeEmitterGen.cpp
+++ b/llvm/utils/TableGen/CodeEmitterGen.cpp
@@ -311,7 +311,7 @@ std::string CodeEmitterGen::getInstructionCaseForEncoding(Record *R, Record *Enc
for (const RecordVal &RV : EncodingDef->getValues()) {
// Ignore fixed fields in the record, we're looking for values like:
// bits<5> RST = { ?, ?, ?, ?, ? };
- if (RV.getPrefix() || RV.getValue()->isComplete())
+ if (RV.isNonconcreteOK() || RV.getValue()->isComplete())
continue;
AddCodeToMergeInOperand(R, BI, std::string(RV.getName()), NumberedOp,