Fixes to get the C++ backend more working again.
This commit is contained in:
2
stmt.cpp
2
stmt.cpp
@@ -2786,7 +2786,7 @@ CreateForeachActiveStmt(Symbol *iterSym, Stmt *stmts, SourcePos pos) {
|
||||
Expr *maskVecExpr = new SymbolExpr(maskSym, pos);
|
||||
std::vector<Symbol *> mmFuns;
|
||||
m->symbolTable->LookupFunction("__movmsk", &mmFuns);
|
||||
Assert(mmFuns.size() == 2);
|
||||
Assert(mmFuns.size() == (g->target.isa == Target::GENERIC ? 1 : 2));
|
||||
FunctionSymbolExpr *movmskFunc = new FunctionSymbolExpr("__movmsk", mmFuns,
|
||||
pos);
|
||||
ExprList *movmskArgs = new ExprList(maskVecExpr, pos);
|
||||
|
||||
Reference in New Issue
Block a user