add DFG switch
This commit is contained in:
parent
94d9b0f8c3
commit
4569224be7
|
|
@ -692,7 +692,10 @@ void DfgVertex::typeCheck(const DfgGraph& dfg) const {
|
|||
}
|
||||
|
||||
case VDfgType::SAnd:
|
||||
case VDfgType::SOr: UASSERT_OBJ(false, this, "SAnd/SOr should be removed before DFG"); return;
|
||||
case VDfgType::SOr:
|
||||
case VDfgType::SThroughout:
|
||||
UASSERT_OBJ(false, this, "SAnd/SOr/SThroughout should be removed before DFG");
|
||||
return;
|
||||
|
||||
case VDfgType::LogAnd:
|
||||
case VDfgType::LogEq:
|
||||
|
|
|
|||
|
|
@ -126,6 +126,7 @@ class V3DfgCse final {
|
|||
case VDfgType::StreamR:
|
||||
case VDfgType::SAnd:
|
||||
case VDfgType::SOr:
|
||||
case VDfgType::SThroughout:
|
||||
case VDfgType::Sub:
|
||||
case VDfgType::Xor: return V3Hash{};
|
||||
}
|
||||
|
|
@ -246,6 +247,7 @@ class V3DfgCse final {
|
|||
case VDfgType::StreamL:
|
||||
case VDfgType::SAnd:
|
||||
case VDfgType::SOr:
|
||||
case VDfgType::SThroughout:
|
||||
case VDfgType::StreamR:
|
||||
case VDfgType::Sub:
|
||||
case VDfgType::Xor: return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue