From b8ad3eebcad9417cab81418d302dfda4b910f5eb Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 11 Jul 2017 23:10:17 +0000 Subject: [IPO] Temporarily rollback r307215. [GlobalOpt] Remove unreachable blocks before optimizing a function. While the change is presumably correct, it exposes a latent bug in DI which breaks on of the CFI checks. I'll analyze it further and try to understand what's going on. llvm-svn: 307729 --- llvm/test/Transforms/GlobalOpt/pr33686.ll | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 llvm/test/Transforms/GlobalOpt/pr33686.ll (limited to 'llvm/test/Transforms/GlobalOpt') diff --git a/llvm/test/Transforms/GlobalOpt/pr33686.ll b/llvm/test/Transforms/GlobalOpt/pr33686.ll deleted file mode 100644 index 153a85f8e0c..00000000000 --- a/llvm/test/Transforms/GlobalOpt/pr33686.ll +++ /dev/null @@ -1,17 +0,0 @@ -; RUN: opt -S -globalopt %s | FileCheck %s - -; CHECK-LABEL: define void @beth -; CHECK-NEXT: entry: -; CHECK-NEXT: ret void -; CHEC-NEXT: } - -@glob = external global i16, align 1 - -define void @beth() { -entry: - ret void - -notreachable: - %patatino = select i1 undef, i16* @glob, i16* %patatino - br label %notreachable -} -- cgit v1.2.3