summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PostRASchedulerList.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-07 16:45:01 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-07 16:56:16 +0000
commit77cfe83f7dd636845915bbb0295013a570778278 (patch)
treebdad5e7683c6555a861b0690cdef1d643eaf51bb /llvm/lib/CodeGen/PostRASchedulerList.cpp
parentd5c4881a56e0477acb8b38deff7eb3c401427d24 (diff)
downloadbcm5719-llvm-77cfe83f7dd636845915bbb0295013a570778278.tar.gz
bcm5719-llvm-77cfe83f7dd636845915bbb0295013a570778278.zip
PostRAScheduler - fix uninitialized variable warning. NFCI.
Diffstat (limited to 'llvm/lib/CodeGen/PostRASchedulerList.cpp')
-rw-r--r--llvm/lib/CodeGen/PostRASchedulerList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp
index 5bea9f2893c..9ba4a8744cf 100644
--- a/llvm/lib/CodeGen/PostRASchedulerList.cpp
+++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp
@@ -77,7 +77,7 @@ AntiDepBreaker::~AntiDepBreaker() { }
namespace {
class PostRAScheduler : public MachineFunctionPass {
- const TargetInstrInfo *TII;
+ const TargetInstrInfo *TII = nullptr;
RegisterClassInfo RegClassInfo;
public:
OpenPOWER on IntegriCloud