[Beignet] [PATCH 2/2] Fix a build pushMap bug.
Zhigang Gong
zhigang.gong at linux.intel.com
Mon Dec 30 19:44:01 PST 2013
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 <rong.r.yang at intel.com>
> ---
> 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
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list