[mlir] Use std::optional instead of llvm::Optional (NFC)
authorKazu Hirata <kazu@google.com>
Wed, 15 Feb 2023 04:44:15 +0000 (20:44 -0800)
committerKazu Hirata <kazu@google.com>
Wed, 15 Feb 2023 04:44:15 +0000 (20:44 -0800)
commit0dc18b6222f4f014203fa4747c8de3757bcd6d26
tree572b6d8f3af78288b4b04cddf0f058b64001d17f
parent05423905d064c196f745a57050e3e918b0243765
[mlir] Use std::optional instead of llvm::Optional (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/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp