[llvm] 72bd011 - Fix build after 34a8a437b
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri May 7 23:19:16 PDT 2021
Author: Arthur Eubanks
Date: 2021-05-07T23:18:44-07:00
New Revision: 72bd0116e3a1a70fb52fc47c056349b290ce2204
URL: https://github.com/llvm/llvm-project/commit/72bd0116e3a1a70fb52fc47c056349b290ce2204
DIFF: https://github.com/llvm/llvm-project/commit/72bd0116e3a1a70fb52fc47c056349b290ce2204.diff
LOG: Fix build after 34a8a437b
Added:
Modified:
llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
index d8fb7841d478..f5010c6b8bc5 100644
--- a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
+++ b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
@@ -159,7 +159,7 @@ template <typename DerivedT> class CodeGenPassBuilder {
class AddIRPass {
public:
AddIRPass(ModulePassManager &MPM, bool DebugPM, bool Check = true)
- : MPM(MPM), FPM(DebugPM) {
+ : MPM(MPM), FPM() {
if (Check)
AddingFunctionPasses = false;
}
More information about the llvm-commits
mailing list