LGTM, pushed, thanks.
On Thu, Dec 26, 2013 at 09:55:55AM +0800, Yang Rong wrote: > Insert the pushMap to set to avoid multiple push. > > Signed-off-by: Yang Rong <[email protected]> > --- > backend/src/ir/lowering.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/backend/src/ir/lowering.cpp b/backend/src/ir/lowering.cpp > index 013878c..23dd120 100644 > --- a/backend/src/ir/lowering.cpp > +++ b/backend/src/ir/lowering.cpp > @@ -238,6 +238,7 @@ namespace ir { > if (offset != 0) { > pushed = fn->newRegister(family); > this->appendPushedConstant(pushed, argLocation); > + inserted.insert(argLocation); > } else { > pushed = fn->getArg(loadAddImm.argID).reg; > } > -- > 1.8.1.2 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
