[InstCombine] Use std::optional in InstructionCombining.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:49:50 +0000 (23:49 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 07:49:50 +0000 (23:49 -0800)
commit3da96e0361f5b68340891d443c24d62a97af9767
treec569ae2da55adfc8b4c49b535dd08e2c599cf07a
parent881076cde29699ef2a458c9d957ebcd49ded8893
[InstCombine] Use std::optional in InstructionCombining.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/InstCombine/InstructionCombining.cpp