[llvm] 55fc4f6 - [TableGen] Fix compile fail when compiling llvm with MSVC due to typo in 931418667063
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 05:23:47 PDT 2023
Author: Shengchen Kan
Date: 2023-04-10T20:23:37+08:00
New Revision: 55fc4f6b24d9b86673d4ab56a3be904c5fe1af65
URL: https://github.com/llvm/llvm-project/commit/55fc4f6b24d9b86673d4ab56a3be904c5fe1af65
DIFF: https://github.com/llvm/llvm-project/commit/55fc4f6b24d9b86673d4ab56a3be904c5fe1af65.diff
LOG: [TableGen] Fix compile fail when compiling llvm with MSVC due to typo in 931418667063
Added:
Modified:
llvm/utils/TableGen/InfoByHwMode.h
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/InfoByHwMode.h b/llvm/utils/TableGen/InfoByHwMode.h
index 6a55a3b755bc8..2576664bc77be 100644
--- a/llvm/utils/TableGen/InfoByHwMode.h
+++ b/llvm/utils/TableGen/InfoByHwMode.h
@@ -53,7 +53,7 @@ void union_modes(const InfoByHwMode<InfoT> &A,
HasDefault = true;
++AI;
}
- if (BI != A.end() && BI->first == DefaultMode) {
+ if (BI != B.end() && BI->first == DefaultMode) {
HasDefault = true;
++BI;
}
More information about the llvm-commits
mailing list