[LoongArch] Use std::nullopt instead of None (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 22:49:03 +0000 (14:49 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 22:49:03 +0000 (14:49 -0800)
commitfda7968558d2e429198bccbee3463cea59466f7d
treede30f0f882fd23f8e330666cdaf9872b58c9ca2f
parent9ddff66d0c9c3e18d56e6b20aa26a2a8cdfb6d2b
[LoongArch] Use std::nullopt instead of None (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
llvm/unittests/Target/LoongArch/InstSizes.cpp