Displaying 2 results from an estimated 2 matches for "classpairgaps".
2004 Sep 26
2
[LLVMdev] patches and scons
...ansforms\Scalar\LoopSimplify.cpp(217) : error C2065: 'PN' :
undeclared identifier ... and subsequents
* Dynamic C99 array to std::vector
llvm\lib\Target\TargetSchedInfo.cpp(178) : error C2057: expected
constant expression
I think there's nothing different moving from:
int classPairGaps[numSchedClasses][numSchedClasses];
to
std::vector< std::vector<int> > classPairGaps(numSchedClasses,
std::vector<int>(numSchedClasses,0));
there're also other cases in
llvm\lib\Bytecode\Reader\Reader.cpp(1484) : error C2057: expected
constant expression
llvm...
2004 Sep 03
4
[LLVMdev] diffs for vc7.1
...don't provide a patch to standard
vectors...
llvm\lib\Bytecode\Reader\Reader.cpp(1483) : error C2057: expected
constant expression
llvm/lib/CodeGen/LiveVariables.cpp, # MachineInstr
*PhysRegInfoA[RegInfo->getNumRegs()]; C99 array
llvm/lib/Target/TargetSchedInfo.cpp, # int
classPairGaps[numSchedClasses][numSchedClasses]; C99 array
The next bigger problem is that the compiler complains about this kind
of construct...
<snip>
for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
dyn_cast<PHINode>(I); ++I)
visitPHINode(*PN);
<snip>
build_vc71\lib\Tr...