<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - gvn-hoist crashes: Assertion `&*ALI == *AAI && "Not the same accesses in the same order"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=44027">44027</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>gvn-hoist crashes: Assertion `&*ALI == *AAI && "Not the same accesses in the same order"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cszide@163.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22820" name="attach_22820" title="svm.bc">attachment 22820</a> <a href="attachment.cgi?id=22820&action=edit" title="svm.bc">[details]</a></span>
svm.bc
$clang -v
clang version 10.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
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 -gvn-hoist svm.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:2008:
void llvm::MemorySSA::verifyOrdering(llvm::Function&) const: Assertion `&*ALI
== *AAI && "Not the same accesses in the same order"' failed.
Stack dump:
0. Program arguments:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt -gvn-hoist
svm.bc
1. Running pass 'Function Pass Manager' on module 'svm.bc'.
#0 0x0000562fe6a2ae8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2891e8a)
#1 0x0000562fe6a28ad4 llvm::sys::RunSignalHandlers()
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fad4)
#2 0x0000562fe6a28c12 SignalHandler(int)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fc12)
#3 0x00007f71951a3890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007f7193e55e97 raise
/build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007f7193e57801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00007f7193e4739a __assert_fail_base
/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:89:0
#7 0x00007f7193e47412 (/lib/x86_64-linux-gnu/libc.so.6+0x30412)
#8 0x0000562fe5cd62f7 llvm::MemorySSA::verifyOrdering(llvm::Function&) const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b3d2f7)
#9 0x0000562fe5cdb085 llvm::MemorySSA::verifyMemorySSA() const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b42085)
#10 0x0000562fe63260c9
llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x218d0c9)
#11 0x0000562fe632972d llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x219072d)
#12 0x0000562fe632a329 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191329)
#13 0x0000562fe632a701 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191701)
#14 0x0000562fe4aa8bfe main
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x90fbfe)
#15 0x00007f7193e38b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#16 0x0000562fe4b4124a _start
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x9a824a)
Aborted (core dumped)
opt bugpoint-reduced-simplified.bc -gvn-hoist
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:2008:
void llvm::MemorySSA::verifyOrdering(llvm::Function&) const: Assertion `&*ALI
== *AAI && "Not the same accesses in the same order"' failed.
Stack dump:
0. Program arguments:
/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt
bugpoint-reduced-simplified.bc -gvn-hoist
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
#0 0x00005615b21a7e8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2891e8a)
#1 0x00005615b21a5ad4 llvm::sys::RunSignalHandlers()
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fad4)
#2 0x00005615b21a5c12 SignalHandler(int)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x288fc12)
#3 0x00007f421fae4890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007f421e796e97 raise
/build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007f421e798801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00007f421e78839a __assert_fail_base
/build/glibc-OTsEL5/glibc-2.27/assert/assert.c:89:0
#7 0x00007f421e788412 (/lib/x86_64-linux-gnu/libc.so.6+0x30412)
#8 0x00005615b14532f7 llvm::MemorySSA::verifyOrdering(llvm::Function&) const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b3d2f7)
#9 0x00005615b1458085 llvm::MemorySSA::verifyMemorySSA() const
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x1b42085)
#10 0x00005615b1aa30c9
llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x218d0c9)
#11 0x00005615b1aa672d llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x219072d)
#12 0x00005615b1aa7329 llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191329)
#13 0x00005615b1aa7701 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x2191701)
#14 0x00005615b0225bfe main
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x90fbfe)
#15 0x00007f421e779b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#16 0x00005615b02be24a _start
(/home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin/opt+0x9a824a)
Aborted (core dumped)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>