[Vectorize] Use std::optional in SLPVectorizer.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 02:03:49 +0000 (18:03 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 02:03:49 +0000 (18:03 -0800)
commit5fc8f6c37c33195ebac70f08227cfa9aae40f158
treec3112944c80e39c7348e3453bcb188663793f096
parent2d1b093a37d6aea01125166086d05303d2798efd
[Vectorize] Use std::optional in SLPVectorizer.cpp (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/lib/Transforms/Vectorize/SLPVectorizer.cpp