diff options
Diffstat (limited to 'llvm/utils/TableGen/SubtargetFeatureInfo.cpp')
-rw-r--r-- | llvm/utils/TableGen/SubtargetFeatureInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/SubtargetFeatureInfo.cpp b/llvm/utils/TableGen/SubtargetFeatureInfo.cpp index 52afb4d..819abfa 100644 --- a/llvm/utils/TableGen/SubtargetFeatureInfo.cpp +++ b/llvm/utils/TableGen/SubtargetFeatureInfo.cpp @@ -81,7 +81,7 @@ void SubtargetFeatureInfo::emitNameTable( uint64_t IndexUB = 0; for (const auto &SF : SubtargetFeatures) if (IndexUB <= SF.second.Index) - IndexUB = SF.second.Index+1; + IndexUB = SF.second.Index + 1; std::vector<std::string> Names; if (IndexUB > 0) |