diff --git a/llvm/include/llvm/Transforms/Scalar/JumpThreading.h b/llvm/include/llvm/Transforms/Scalar/JumpThreading.h index 2fb5bb1a8393..de6957c12261 100644 --- a/llvm/include/llvm/Transforms/Scalar/JumpThreading.h +++ b/llvm/include/llvm/Transforms/Scalar/JumpThreading.h @@ -84,6 +84,7 @@ class JumpThreadingPass : public PassInfoMixin { public: JumpThreadingPass(int T = -1); + JumpThreadingPass(const JumpThreadingPass &) = delete; // Glue for old PM. bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,