llvm-project/mlir/lib/Dialect/Tensor/IR
Kazu Hirata 1a36588ec6 [mlir] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-03 18:50:27 -08:00
..
CMakeLists.txt [mlir][interfaces] Remove getDestinationOperands from TilingInterface 2022-10-24 09:26:19 +02:00
TensorDialect.cpp [mlir][tensor][NFC] Rename linalg.init_tensor to tensor.empty 2022-10-04 17:25:35 +09:00
TensorInferTypeOpInterfaceImpl.cpp [MLIR] Expose `getAsValues` in `StaticValueUtils.h` (NFC) [reland] 2022-09-27 11:18:25 -04:00
TensorOps.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
TensorTilingInterfaceImpl.cpp Merge kDynamicSize and kDynamicSentinel into one constant. 2022-11-21 13:01:26 +00:00