[Beignet] [PATCH] GBE: remove the unecessary type check for SEL instructio.

Zhigang Gong zhigang.gong at intel.com
Sun Mar 1 17:19:26 PST 2015


The backend SEL instruction could support bool type
since we change the bool representation to normal
S16 data type. Now let us remove this assertion
check.

Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
 backend/src/ir/instruction.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 928e365..1e1b040 100644
--- a/backend/src/ir/instruction.cpp
+++ b/backend/src/ir/instruction.cpp
@@ -874,7 +874,6 @@ namespace ir {
         if (UNLIKELY(checkRegisterData(family, regID, fn, whyNot) == false))
           return false;
       }
-      CHECK_TYPE(this->type, allButBool);
       return true;
     }
 
-- 
1.9.1



More information about the Beignet mailing list