[PATCH] D54695: [PM] Port Scalarizer to the new pass manager.
Fedor Sergeev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 21 03:19:18 PST 2018
fedor.sergeev added a comment.
In https://reviews.llvm.org/D54695#1305054, @markus wrote:
> ../lib/Transforms/Scalar/Scalarizer.cpp:311:25: error: non-const lvalue reference to type 'llvm::Function' cannot bind to a value of unrelated type 'llvm::Instruction *'
>
> bool Done = visit(I);
You can use explicit qualification here:
bool Done = InstVisitor::visit(I);
https://reviews.llvm.org/D54695
More information about the llvm-commits
mailing list