diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp b/contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp index 5bea9f2893c9..d68959935cec 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/PostRASchedulerList.cpp @@ -38,6 +38,7 @@  #include "llvm/CodeGen/TargetRegisterInfo.h"  #include "llvm/CodeGen/TargetSubtargetInfo.h"  #include "llvm/Config/llvm-config.h" +#include "llvm/InitializePasses.h"  #include "llvm/Support/CommandLine.h"  #include "llvm/Support/Debug.h"  #include "llvm/Support/ErrorHandling.h" @@ -77,7 +78,7 @@ AntiDepBreaker::~AntiDepBreaker() { }  namespace {    class PostRAScheduler : public MachineFunctionPass { -    const TargetInstrInfo *TII; +    const TargetInstrInfo *TII = nullptr;      RegisterClassInfo RegClassInfo;    public:  | 
