[llvm-bugs] [Bug 44029] New: loop-simplifycfg crashes: Assertion `dominates(MD, U) && "Memory Def does not dominate it's uses"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 17 01:01:09 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44029
Bug ID: 44029
Summary: loop-simplifycfg crashes: Assertion `dominates(MD, U)
&& "Memory Def does not dominate it's uses"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: cszide at 163.com
CC: llvm-bugs at lists.llvm.org
Created attachment 22823
--> https://bugs.llvm.org/attachment.cgi?id=22823&action=edit
libigraph_la-igraph_hrg_types.bc
$clang -v
clang version 10.0.0 (https://github.com/llvm/llvm-project.git
6624fcba43be88fd357c74435a4d6462858c8fed)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
$opt -functionattrs -mem2reg -early-cse -mergefunc -globalopt -loop-simplifycfg
libigraph_la-igraph_hrg_types.bc
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
opt:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/llvm/lib/Analysis/MemorySSA.cpp:2043:
void llvm::MemorySSA::verifyDomination(llvm::Function&) const: Assertion
`dominates(MD, U) && "Memory Def does not dominate it's uses"' failed.
Stack dump:
0. Program arguments:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt
-functionattrs -mem2reg -early-cse -mergefunc -globalopt -loop-simplifycfg
libigraph_la-igraph_hrg_types.bc
1. Running pass 'Function Pass Manager' on module
'libigraph_la-igraph_hrg_types.bc'.
2. Running pass 'Loop Pass Manager' on function
'@_ZN6fitHRG6dendro22sampleSplitLikelihoodsERi'
#0 0x000055b73cd2be8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2891e8a)
#1 0x000055b73cd29ad4 llvm::sys::RunSignalHandlers()
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fad4)
#2 0x000055b73cd29c12 SignalHandler(int)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fc12)
#3 0x00007fcc4da49890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007fcc4c6fbe97 raise
/build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007fcc4c6fd801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00007fcc4c6ed39a __assert_fail_base
/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:89:0
#7 0x00007fcc4c6ed412 (/lib/x86_64-linux-gnu/libc.so.6+0x30412)
#8 0x000055b73bfdbfd6 llvm::MemorySSA::verifyDomination(llvm::Function&) const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b41fd6)
#9 0x000055b73bfdc079 llvm::MemorySSA::verifyMemorySSA() const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b42079)
#10 0x000055b73c6270c9
llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x218d0c9)
#11 0x000055b73bfb08e9 llvm::LPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b168e9)
#12 0x000055b73c62a855 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2190855)
#13 0x000055b73c62b329 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191329)
#14 0x000055b73c62b701 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191701)
#15 0x000055b73ada9bfe main
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x90fbfe)
#16 0x00007fcc4c6deb97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#17 0x000055b73ae4224a _start
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x9a824a)
Aborted (core dumped)
$opt bugpoint-reduced-simplified.bc -loop-simplifycfg
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
opt:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/llvm/lib/Analysis/MemorySSA.cpp:2043:
void llvm::MemorySSA::verifyDomination(llvm::Function&) const: Assertion
`dominates(MD, U) && "Memory Def does not dominate it's uses"' failed.
Stack dump:
0. Program arguments:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt
bugpoint-reduced-simplified.bc -loop-simplifycfg
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2. Running pass 'Loop Pass Manager' on function
'@_ZN6fitHRG6dendro22sampleSplitLikelihoodsERi'
#0 0x0000555a92065e8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2891e8a)
#1 0x0000555a92063ad4 llvm::sys::RunSignalHandlers()
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fad4)
#2 0x0000555a92063c12 SignalHandler(int)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fc12)
#3 0x00007fbdc71ae890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007fbdc5e60e97 raise
/build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007fbdc5e62801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00007fbdc5e5239a __assert_fail_base
/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:89:0
#7 0x00007fbdc5e52412 (/lib/x86_64-linux-gnu/libc.so.6+0x30412)
#8 0x0000555a91315fd6 llvm::MemorySSA::verifyDomination(llvm::Function&) const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b41fd6)
#9 0x0000555a91316079 llvm::MemorySSA::verifyMemorySSA() const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b42079)
#10 0x0000555a919610c9
llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x218d0c9)
#11 0x0000555a912ea8e9 llvm::LPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b168e9)
#12 0x0000555a91964855 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2190855)
#13 0x0000555a91965329 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191329)
#14 0x0000555a91965701 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191701)
#15 0x0000555a900e3bfe main
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x90fbfe)
#16 0x00007fbdc5e43b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#17 0x0000555a9017c24a _start
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x9a824a)
Aborted (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/20191117/c5bb1d7f/attachment.html>
More information about the llvm-bugs
mailing list