summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2015-03-02 09:16:47 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-03-02 15:57:04 +0800
commit43e98c59917995917f6d719d5285ebc139760086 (patch)
tree31b3b25bd5bf515e932a291df194ba6897aabafa
parent65780d81c786def2f44c11b8d6f5e4895c5061bb (diff)
GBE: remove the unecessary type check for SEL instructio.
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@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
-rw-r--r--backend/src/ir/instruction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 8c829c07..d86d1543 100644
--- a/backend/src/ir/instruction.cpp
+++ b/backend/src/ir/instruction.cpp
@@ -872,7 +872,6 @@ namespace ir {
if (UNLIKELY(checkRegisterData(family, regID, fn, whyNot) == false))
return false;
}
- CHECK_TYPE(this->type, allButBool);
return true;
}