aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/FixedLenDecoderEmitter.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/FixedLenDecoderEmitter.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/FixedLenDecoderEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/FixedLenDecoderEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
index 4f1f559..01b39df 100644
--- a/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
+++ b/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
@@ -1887,7 +1887,7 @@ populateInstruction(CodeGenTarget &Target, const Record &EncodingDef,
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
// Ignore fixed fields in the record, we're looking for values like:
// bits<5> RST = { ?, ?, ?, ?, ? };
- if (Vals[i].getPrefix() || Vals[i].getValue()->isComplete())
+ if (Vals[i].isNonconcreteOK() || Vals[i].getValue()->isComplete())
continue;
// Determine if Vals[i] actually contributes to the Inst encoding.