summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2015-04-14 13:45:44 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-04-14 14:31:51 +0800
commit4a41e20315b014bb6feb5f3a029b39859f1c4150 (patch)
tree4b53cb4594134241180dc04f72d20782f7de73e9
parented75dc7af2f8049a1b47e2f1fd7778d07ec8725e (diff)
downloadbeignet-4a41e20315b014bb6feb5f3a029b39859f1c4150.tar.gz
GBE: should initialize useDWLabel to false by default.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Guo, Yejun" <yejun.guo@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
-rw-r--r--backend/src/backend/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/backend/context.cpp b/backend/src/backend/context.cpp
index 59ccc79d..0dc60b77 100644
--- a/backend/src/backend/context.cpp
+++ b/backend/src/backend/context.cpp
@@ -319,7 +319,7 @@ namespace gbe
IVAR(OCL_SIMD_WIDTH, 8, 15, 16);
Context::Context(const ir::Unit &unit, const std::string &name) :
- unit(unit), fn(*unit.getFunction(name)), name(name), liveness(NULL), dag(NULL)
+ unit(unit), fn(*unit.getFunction(name)), name(name), liveness(NULL), dag(NULL), useDWLabel(false)
{
GBE_ASSERT(unit.getPointerSize() == ir::POINTER_32_BITS);
this->liveness = GBE_NEW(ir::Liveness, const_cast<ir::Function&>(fn));