[llvm] r268288 - Revert "[SimplifyCFG] Extend TryToSimplifyUncondBranchFromEmptyBlock for empty block including lifetime intrinsics"

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 09:41:44 PDT 2016


On Tue, May 3, 2016 at 9:35 AM, Pete Cooper <peter_cooper at apple.com> wrote:

> Thanks for reverting this.  I think it also caused some LTO failures on
> green dragon, although I was still trying to reproduce them to make sure.
>
> More detail is here (
> http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_build/8797/consoleFull),
> but were you seeing something like the following?
>
> While deleting: i8* %
> Use still stuck around after Def is destroyed:  call void
> @llvm.lifetime.end(i64 24, i8* nonnull <badref>) #3, !dbg !4862
> Use still stuck around after Def is destroyed:  %.pre194 = load i8, i8*
> <badref>, align 8, !dbg !4799, !tbaa !4501
> Use still stuck around after Def is destroyed:  call void
> @llvm.memset.p0i8.i64(i8* <badref>, i8 0, i64 24, i32 8, i1 false) #3, !dbg
> !4783, !alias.scope !4791
>
> Assertion failed: (use_empty() && "Uses remain when a value is
> destroyed!"), function ~Value, file
> /Users/buildslave/jenkins/sharedspace/phase1 at 2/llvm/lib/IR/Value.cpp,
> line 85.
>
>
> Cheers,
> Pete
>

Yep, I saw precisely that kind of assertion failure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160503/ab5730fc/attachment.html>


More information about the llvm-commits mailing list