[mlir] Replace None with std::nullopt in comments (NFC)
authorKazu Hirata <kazu@google.com>
Thu, 27 Apr 2023 06:29:02 +0000 (23:29 -0700)
committerKazu Hirata <kazu@google.com>
Thu, 27 Apr 2023 06:29:02 +0000 (23:29 -0700)
commit1b2247d932a95ef75778bf38d0e52cf7ba2e7d5c
tree494434ae1159f974d6140732b1d1d557025f3d15
parentaba32abe2d93133a46f67764937a1c85d455dce8
[mlir] Replace None with std::nullopt in comments (NFC)

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
mlir/include/mlir/Analysis/FlatLinearValueConstraints.h
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
mlir/include/mlir/IR/BuiltinTypes.h
mlir/include/mlir/IR/BuiltinTypes.td
mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
mlir/include/mlir/Interfaces/VectorInterfaces.td
mlir/include/mlir/Tools/PDLL/AST/Nodes.h
mlir/lib/Analysis/FlatLinearValueConstraints.cpp
mlir/lib/Dialect/Affine/IR/AffineOps.cpp