[Utils] Use std::optional in SimplifyCFG.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 01:55:33 +0000 (17:55 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 27 Nov 2022 01:55:33 +0000 (17:55 -0800)
commit2d1b093a37d6aea01125166086d05303d2798efd
tree3b7a72d028cae740fbf4e60ddfed87d3513638a7
parent88988c50f838cb53dc9a0f055045f2625dc6a302
[Utils] Use std::optional in SimplifyCFG.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/Utils/SimplifyCFG.cpp