Skip to content
Commit 0de16faf authored by Ramkumar Ramachandra's avatar Ramkumar Ramachandra
Browse files

mlir/DialectConversion: use std::optional (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional. This patch touches DialectConversion, and modifies
existing conversions and tests appropriately.

See also: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716



Signed-off-by: default avatarRamkumar Ramachandra <r@artagnon.com>

Differential Revision: https://reviews.llvm.org/D140303
parent 2f6439bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment