[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Chris Lattner
clattner at apple.com
Mon May 14 22:57:58 PDT 2007
> 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
More information about the llvm-commits
mailing list