From: Carlos Alberto Enciso Date: Mon, 11 Feb 2019 10:16:38 +0000 (+0000) Subject: [DWARF] LLVM ERROR: Broken function found, while removing Debug Intrinsics. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab1f00a1a5e82351cc9f0b1b0f5ada5303e22fbe;p=llvm [DWARF] LLVM ERROR: Broken function found, while removing Debug Intrinsics. Check that when SimplifyCFG is flattening a 'br', all their debug intrinsic instructions are removed, including any dbg.label referencing a label associated with the basic blocks being removed. As the test case involves a CFG transformation, move it to the correct location. Differential Revision: https://reviews.llvm.org/D57444 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353682 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/bbi-23595.ll b/test/Transforms/SimplifyCFG/bbi-23595.ll similarity index 100% rename from test/CodeGen/X86/bbi-23595.ll rename to test/Transforms/SimplifyCFG/bbi-23595.ll