From: Junyan He <[email protected]>
Signed-off-by: Junyan He <[email protected]>
---
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
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet