[Beignet] [PATCH 13/18] Backend: Disable the welform for profiling instructions.

junyan.he at inbox.com junyan.he at inbox.com
Thu Dec 24 03:02:05 PST 2015


From: Junyan He <junyan.he at linux.intel.com>

Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
 backend/src/ir/instruction.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 7ba26e4..6018f70 100644
--- a/backend/src/ir/instruction.cpp
+++ b/backend/src/ir/instruction.cpp
@@ -1406,10 +1406,6 @@ namespace ir {
     }
 
     INLINE bool CalcTimestampInstruction::wellFormed(const Function &fn, std::string &whyNot) const {
-      if (UNLIKELY(this->timestampType != 1)) {
-        whyNot = "Wrong time stamp type";
-        return false;
-      }
       if (UNLIKELY(this->pointNum >= 20 && this->pointNum != 0xff && this->pointNum != 0xfe)) {
         whyNot = "To much Insert pointer";
         return false;
@@ -1418,10 +1414,6 @@ namespace ir {
     }
 
     INLINE bool StoreProfilingInstruction::wellFormed(const Function &fn, std::string &whyNot) const {
-      if (UNLIKELY(this->profilingType != 1)) {
-        whyNot = "Wrong profiling format";
-        return false;
-      }
       return true;
     }
 
-- 
1.9.1





More information about the Beignet mailing list