projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a676c2
)
Fix a build pushMap bug.
author
Yang Rong
<rong.r.yang@intel.com>
Thu, 26 Dec 2013 01:55:55 +0000
(09:55 +0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Tue, 31 Dec 2013 03:37:22 +0000
(11:37 +0800)
Insert the pushMap to set to avoid multiple push.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/ir/lowering.cpp
patch
|
blob
|
history
diff --git
a/backend/src/ir/lowering.cpp
b/backend/src/ir/lowering.cpp
index
013878c
..
23dd120
100644
(file)
--- 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;
}