Update lower_frontend_to_krnl.cpp (#391)
This commit is contained in:
parent
1c3176bf9f
commit
82f5bfec9f
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue