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:
40f6e7b
)
Fix a scalarize pass bug.
author
Yang Rong
<rong.r.yang@intel.com>
Wed, 22 May 2013 08:49:06 +0000
(16:49 +0800)
committer
Zhigang Gong
<zhigang.gong@linux.intel.com>
Thu, 23 May 2013 02:32:10 +0000
(10:32 +0800)
Need to clear vectors and maps after finish one function.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/llvm/llvm_scalarize.cpp
patch
|
blob
|
history
diff --git
a/backend/src/llvm/llvm_scalarize.cpp
b/backend/src/llvm/llvm_scalarize.cpp
index
f71401f
..
f7ef375
100644
(file)
--- a/
backend/src/llvm/llvm_scalarize.cpp
+++ b/
backend/src/llvm/llvm_scalarize.cpp
@@
-798,6
+798,9
@@
namespace gbe {
dce();
+ incompletePhis.clear();
+ vectorVals.clear();
+
delete builder;
builder = 0;