[Beignet] [PATCH 07/12] gbe/ir: defaultData is not initialized by default.

xionghu.luo at intel.com xionghu.luo at intel.com
Thu May 5 16:11:50 UTC 2016


From: Luo Xionghu <xionghu.luo at intel.com>

Signed-off-by: Luo Xionghu <xionghu.luo at intel.com>
---
 backend/src/ir/immediate.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backend/src/ir/immediate.cpp b/backend/src/ir/immediate.cpp
index 35fc965..30db8e7 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;
     }
 
 
-- 
2.1.4



More information about the Beignet mailing list