[Utils] Use std::optional in AMDGPUBaseInfo.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 06:43:00 +0000 (22:43 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 06:43:00 +0000 (22:43 -0800)
commitaad2d272bf9e57bfc01c546224ca531783c0373b
tree4c8ca1b63c4eb62029466084db6159d0887608af
parent09e0aeaaaaff2d18bb5f87b99e752e32756f5a33
[Utils] Use std::optional in AMDGPUBaseInfo.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/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp