[PATCH] D78265: [AArch64ConditionOptimizer] Fix missed optimization due to debug insts [10/10]
Carlos Alberto Enciso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 08:04:29 PDT 2020
CarlosAlbertoEnciso added a comment.
In D78265#1999052 <https://reviews.llvm.org/D78265#1999052>, @LukeGeeson wrote:
> I cannot build llvm locally using `ninja clean && ninja check-all` with this patch due to the following error:
>
> `AArch64ConditionOptimizer.cpp: In member function 'llvm::MachineInstr* {anonymous}::AArch64ConditionOptimizer::findSuitableCompare(llvm::MachineBasicBlock*) ... no matching function call to 'prev(llvm::MachineInstr&)'`
>
> Using the following cmake command in `llvm-project/build`
>
> cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lld" -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64" -DLLVM_ENABLE_SOLVER_Z3=Off -DPARALLEL_LINK_JOBS=2 -DLLVM_USE_LINKER=gold ../llvm
>
>
> It looks as though harbourmaster is failing as well.
> Based on commit hash `3a53806` on master
I have the same problem trying to build llvm locally.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78265/new/
https://reviews.llvm.org/D78265
More information about the llvm-commits
mailing list