[LLVMbugs] [Bug 21906] New: Assertion failed: ExitBlockSet.count(ExitBlock) && "The LCSSA PHI is not in an exit block!"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Dec 12 23:08:25 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21906
Bug ID: 21906
Summary: Assertion failed: ExitBlockSet.count(ExitBlock) &&
"The LCSSA PHI is not in an exit block!"
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: patrik.h.hagglund at ericsson.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13536
--> http://llvm.org/bugs/attachment.cgi?id=13536&action=edit
testcase
This bug is present on r224187, and seems to be introduced by r215343.
bin/opt -S -instcombine -simplifycfg -inline -sroa -early-cse -jump-threading
-instcombine -licm -gvn -simplifycfg csmith-461848576.ll
opt: ../lib/Transforms/Scalar/LICM.cpp:613: void (anonymous
namespace)::LICM::sink(llvm::Instruction &): Assertion
`ExitBlockSet.count(ExitBlock) && "The LCSSA PHI is not in an exit block!"'
failed.
0 opt 0x0000000001382be8 llvm::sys::PrintStackTrace(_IO_FILE*) +
40
1 opt 0x00000000013841cb
2 libpthread.so.0 0x00007f77ab37a810
3 libc.so.6 0x00007f77aab95755 gsignal + 53
4 libc.so.6 0x00007f77aab96d31 abort + 385
5 libc.so.6 0x00007f77aab8e610 __assert_fail + 240
6 opt 0x0000000001269540
7 opt 0x00000000012677e5
8 opt 0x0000000001267433
9 opt 0x0000000001265e32
10 opt 0x0000000000cb15cd
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1085
11 opt 0x000000000104b69b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 539
12 opt 0x000000000108f7a9
13 opt 0x000000000104be87
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 967
14 opt 0x00000000005b83e9 main + 6345
15 libc.so.6 0x00007f77aab81c16 __libc_start_main + 230
16 opt 0x00000000005a5f55
Stack dump:
0. Program arguments: bin/opt -S -instcombine -simplifycfg -inline -sroa
-early-cse -jump-threading -instcombine -licm -gvn -simplifycfg
csmith-461848576.ll
1. Running pass 'CallGraph Pass Manager' on module 'csmith-461848576.ll'.
2. Running pass 'Loop Pass Manager' on function '@fn1'
3. Running pass 'Loop Invariant Code Motion' on basic block '%for.cond'
Abort (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141213/461596b9/attachment.html>
More information about the llvm-bugs
mailing list