[Beignet] [Patch v2 2/4] remove useless code.

xionghu.luo at intel.com xionghu.luo at intel.com
Fri Jan 6 14:40:41 UTC 2017


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

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

diff --git a/backend/src/backend/gen_insn_selection.cpp b/backend/src/backend/gen_insn_selection.cpp
index eb9e0ad..1bbc5f6 100644
--- a/backend/src/backend/gen_insn_selection.cpp
+++ b/backend/src/backend/gen_insn_selection.cpp
@@ -2577,7 +2577,6 @@ extern bool OCL_DEBUGINFO; // first defined by calling BVAR in program.cpp
       else {
         const ir::BasicBlock *next = bb.getNextBlock();
         this->ENDIF(GenRegister::immd(0), next->getLabelIndex());
-        needEndif = false;
       }
     }
 
-- 
2.5.0



More information about the Beignet mailing list