summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo@intel.com>2016-05-06 00:11:50 +0800
committerYang Rong <rong.r.yang@intel.com>2016-05-23 18:07:27 +0800
commit2a1998145fce8fb6f5b82841db446056b6bb8e9a (patch)
treeab39d7e1fa3835950eed36c38aa7a93c2fe52f02 /backend
parente97a147d881e35f90a2958d42bce98dbde300559 (diff)
downloadbeignet-2a1998145fce8fb6f5b82841db446056b6bb8e9a.tar.gz
gbe/ir: defaultData is not initialized by default.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'backend')
-rw-r--r--backend/src/ir/immediate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/ir/immediate.cpp b/backend/src/ir/immediate.cpp
index 35fc9656..30db8e71 100644
--- a/backend/src/ir/immediate.cpp
+++ b/backend/src/ir/immediate.cpp
@@ -276,6 +276,7 @@ using namespace ir;
for(uint32_t i = 0; i < immVec.size(); i++)
this->data.immVec[i] = immVec[i];
}
+ defaultData = 0ull;
}