> PredicateOperand related bug fix. > @@ -2899,7 +2901,7 @@ > else if (NodeHasOptInFlag) > EndAdjust = "-(HasInFlag?1:0)"; // May have a flag. > > - emitCode("for (unsigned i = " + utostr(NumInputs) + > + emitCode("for (unsigned i = " + utostr(NumInputs - > NumEAInputs) + > ", e = N.getNumOperands()" + EndAdjust + "; i ! > = e; ++i) {"); >
Out of curiousity, why is this needed? Did you hit a bug with something when it got selected? If the bug was with ISD::Constant's, this is a serious bug and this is not the right fix. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits