Update lower_frontend_to_krnl.cpp (#391)

This commit is contained in:
Tian Jin 2019-12-05 22:05:06 -05:00 committed by Tian Jin
parent 1c3176bf9f
commit 82f5bfec9f
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ Value* mapToLowerScalarOp(Location loc, ArrayRef<Type> result_types,
return rewriter.create<ScalarFOp<UnaryOp>>( return rewriter.create<ScalarFOp<UnaryOp>>(
loc, result_types, operands, mlir::None); loc, result_types, operands, mlir::None);
} else { } else {
emitError(loc, "unsupported element type");
return nullptr; return nullptr;
} }
} }