From a399d1880bc6e2a13cad02a2a3cb024c27d32ac2 Mon Sep 17 00:00:00 2001 From: Sam Parker Date: Tue, 22 Sep 2020 10:43:18 +0100 Subject: [ARM] Find VPT implicitly predicated by VCTP On failing to find a VCTP in the list of instructions that explicitly predicate the entry of a VPT block, inspect whether the block is controlled via VPT which is implicitly predicated due to it's predicated operand(s). Differential Revision: https://reviews.llvm.org/D87819 --- llvm/lib/CodeGen/ReachingDefAnalysis.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp') diff --git a/llvm/lib/CodeGen/ReachingDefAnalysis.cpp b/llvm/lib/CodeGen/ReachingDefAnalysis.cpp index 86c2f63fd3aa..f553bad31b94 100644 --- a/llvm/lib/CodeGen/ReachingDefAnalysis.cpp +++ b/llvm/lib/CodeGen/ReachingDefAnalysis.cpp @@ -433,7 +433,6 @@ MachineInstr *ReachingDefAnalysis::getUniqueReachingMIDef(MachineInstr *MI, if (LocalDef && InstIds.lookup(LocalDef) < InstIds.lookup(MI)) return LocalDef; - SmallPtrSet VisitedBBs; SmallPtrSet Incoming; MachineBasicBlock *Parent = MI->getParent(); for (auto *Pred : Parent->predecessors()) -- cgit v1.2.3