[Beignet] [PATCH 2/3] Backend: Workgroup functions no check for src until fix on wellFormed

grigore.lupescu at intel.com grigore.lupescu at intel.com
Fri Apr 1 12:49:19 UTC 2016


From: Grigore Lupescu <grigore.lupescu at intel.com>

Signed-off-by: Grigore Lupescu <grigore.lupescu at intel.com>
---
 backend/src/ir/instruction.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 75e1b3b..a0b0e13 100644
--- a/backend/src/ir/instruction.cpp
+++ b/backend/src/ir/instruction.cpp
@@ -1290,10 +1290,6 @@ namespace ir {
         return false;
       if (UNLIKELY(checkRegisterData(family, dst[0], fn, whyNot) == false))
         return false;
-      /* check against the tuple source data only */
-      const Register src0 = fn.getRegister(src, 2);
-      if (UNLIKELY(checkRegisterData(family, src0, fn, whyNot) == false))
-        return false;
 
       switch (this->workGroupOp) {
         case WORKGROUP_OP_ANY:
-- 
2.5.0



More information about the Beignet mailing list