aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2021-12-16 15:58:51 -0800
committerEllis Hoag <ellis.sparky.hoag@gmail.com>2021-12-16 15:59:12 -0800
commit01525da853c657f72e275395c20e31bd8a8151aa (patch)
treecc46495153bc1158880ebda0fc4df57f8dcf890d /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent85f799730f2edfe9dc3e391732d65545039dd5b9 (diff)
downloadllvm-01525da853c657f72e275395c20e31bd8a8151aa.zip
llvm-01525da853c657f72e275395c20e31bd8a8151aa.tar.gz
llvm-01525da853c657f72e275395c20e31bd8a8151aa.tar.bz2
[InstrProf] Fix build error in Correlator class
For some reason this did not fail to compile for me locally, but did fail on one of the builders. Here is the error: https://lab.llvm.org/buildbot/#/builders/58/builds/14969 ``` /home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp: In static member function ‘static llvm::Expected<std::unique_ptr<llvm::InstrProfCorrelator::Context> > llvm::InstrProfCorrelator::Context::get(std::unique_ptr<llvm::MemoryBuffer>, const llvm::object::ObjectFile&)’: /home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:44:10: error: could not convert ‘C’ from ‘std::unique_ptr<llvm::InstrProfCorrelator::Context>’ to ‘llvm::Expected<std::unique_ptr<llvm::InstrProfCorrelator::Context> >’ return C; ``` Reviewed By: kyulee Differential Revision: https://reviews.llvm.org/D115911
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions