From 31a58c6ac06585a9054ad8bd74097a6e9baf438a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 2 Mar 2017 23:50:51 +0000 Subject: [PATCH] AMDGPU: Fix missing dominator tree dependency llvm-svn: 296842 --- llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp index d70f52e0f295..fa4a03b8848c 100644 --- a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp +++ b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp @@ -118,6 +118,7 @@ public: INITIALIZE_PASS_BEGIN(SIAnnotateControlFlow, DEBUG_TYPE, "Annotate SI Control Flow", false, false) +INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass) INITIALIZE_PASS_DEPENDENCY(DivergenceAnalysis) INITIALIZE_PASS_END(SIAnnotateControlFlow, DEBUG_TYPE, "Annotate SI Control Flow", false, false)