fix opencv_test_imgproc subcase OCL_ImgProc/Accumulate.Mask regression.
authorLuo Xionghu <xionghu.luo@intel.com>
Tue, 26 Aug 2014 02:12:28 +0000 (10:12 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 27 Aug 2014 05:01:33 +0000 (13:01 +0800)
commit2c91585a44059518cf9c2c2fe9b900b72792df2f
tree172567dcbd5da4645dce2a66c2dca0144ce12235
parent7197ece4b83162b2f1fea84c6fda040febe7c89f
fix opencv_test_imgproc subcase OCL_ImgProc/Accumulate.Mask regression.

This regression is caused by structural analysis when check the if-then
node, acturally there are four types of if-then node according to the
topology and fallthrough information. fallthrough check is added in this
patch.

v2: add inversePredicate member and function for BranchInstruction;
print the exact meanning of IF instruction in GEN_IR.

Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/gen_insn_selection.cpp
backend/src/ir/instruction.cpp
backend/src/ir/instruction.hpp
backend/src/ir/structural_analysis.cpp
backend/src/ir/structural_analysis.hpp