llvm.org GIT mirror llvm / 322ff88
Fix a build problem with xlc. The error message was "../llvm-git/utils/TableGen/CodeGenSchedule.cpp", line 1594.12: 1540-0218 (S) The call does not match any parameter list for "operator+". "../llvm-git/include/llvm/ADT/STLExtras.h", line 130.1: 1540-1283 (I) "template <class _Iterator, class Func> llvm::operator+(mapped_iterator<_Iterator,Func>::difference_type, const mapped_iterator<_Iterator,Func> &)" is not a viable candidate. Patch by Kai. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167311 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
15901590 PrintFatalError(PRDef->getLoc(), "ProcResource def is not included in "
15911591 "the ProcResources list for " + ModelName);
15921592 // Idx=0 is reserved for invalid.
1593 return 1 + PRPos - ProcResourceDefs.begin();
1593 return 1 + (PRPos - ProcResourceDefs.begin());
15941594 }
15951595
15961596 #ifndef NDEBUG
10521052 continue;
10531053
10541054 std::vector &SCTab =
1055 SchedTables.ProcSchedClasses[1 + PI - SchedModels.procModelBegin()];
1055 SchedTables.ProcSchedClasses[1 + (PI - SchedModels.procModelBegin())];
10561056
10571057 OS << "\n// {Name, NumMicroOps, BeginGroup, EndGroup,"
10581058 << " WriteProcResIdx,#, WriteLatencyIdx,#, ReadAdvanceIdx,#}\n";