diff options
author | Fangrui Song <i@maskray.me> | 2022-12-04 19:06:47 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-12-04 19:06:47 +0000 |
commit | 7d43c3ba51fd7efe4ff7b9d86067c2563f639dab (patch) | |
tree | 5bcba5701db022c6908cd66e7e234a623837ed7c /llvm/lib/LTO/LTO.cpp | |
parent | ea47ccc78f953d7201601ae1a9da64c6e7865f54 (diff) | |
download | llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.zip llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.gz llvm-7d43c3ba51fd7efe4ff7b9d86067c2563f639dab.tar.bz2 |
IR: HotnessThreshold llvm::Optional => std::optional
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r-- | llvm/lib/LTO/LTO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp index 27787d9..f3e1eda 100644 --- a/llvm/lib/LTO/LTO.cpp +++ b/llvm/lib/LTO/LTO.cpp @@ -1645,7 +1645,7 @@ Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache, Expected<std::unique_ptr<ToolOutputFile>> lto::setupLLVMOptimizationRemarks( LLVMContext &Context, StringRef RemarksFilename, StringRef RemarksPasses, StringRef RemarksFormat, bool RemarksWithHotness, - Optional<uint64_t> RemarksHotnessThreshold, int Count) { + std::optional<uint64_t> RemarksHotnessThreshold, int Count) { std::string Filename = std::string(RemarksFilename); // For ThinLTO, file.opt.<format> becomes // file.opt.<format>.thin.<num>.<format>. |