[Beignet] [PATCH] Remove unncessary assertion in printf processing.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Tue May 3 06:40:35 UTC 2016


From: Yan Wang <yan.wang at linux.intel.com>

It causes alert when printf long vector.
---
 backend/src/llvm/llvm_gen_backend.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/src/llvm/llvm_gen_backend.cpp b/backend/src/llvm/llvm_gen_backend.cpp
index 51a1dab..7d21ebf 100644
--- a/backend/src/llvm/llvm_gen_backend.cpp
+++ b/backend/src/llvm/llvm_gen_backend.cpp
@@ -4558,7 +4558,7 @@ namespace gbe
                 uint32_t srcElemNum = 0;
                 Value *srcValue = I.getOperand(n + 1);
                 ir::Type srcType = getVectorInfo(ctx, srcValue, srcElemNum);
-                GBE_ASSERT(!(srcType == ir::TYPE_S64 || srcType == ir::TYPE_DOUBLE));
+                GBE_ASSERT(!(srcType == ir::TYPE_DOUBLE));
 
                 uint32_t elemID = 0;
                 for (elemID = 0; elemID < srcElemNum; ++elemID) {
-- 
2.4.3



More information about the Beignet mailing list