<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 - opt crashes with "-early-cse-memssa -early-cse-memssa" for any input"
href="https://bugs.llvm.org/show_bug.cgi?id=39626">39626</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>opt crashes with "-early-cse-memssa -early-cse-memssa" for any input
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>6.0
</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>opt
</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>opt crashed when the passes sequence contains the following four subsequences:
1. "-early-cse-memssa -lcssa-verification -early-cse-memssa"
2. "-early-cse-memssa -demanded-bits -early-cse-memssa"
3. "-early-cse-memssa -lcssa-verification -demanded-bits -early-cse-memssa"
4. "-early-cse-memssa -early-cse-memssa"
It has been tested using llvm 6.0 and the trunk version even for the "hello
world!" program.
"
#include<stdio.h>
int main()
{
printf("hello world!");
return 0;
}
“
For the debug version, the output of llvm 6.0 is:
Documents/llvm/llvm6.0/llvm-6.0.0.src/lib/IR/LegacyPassManager.cpp:529: void
llvm::PMTopLevelManager::setLastUser(llvm::ArrayRef<llvm::Pass*>, llvm::Pass*):
Assertion `AnalysisPass && "Expected analysis pass to exist."' failed.
and the output of trunk version is:
/Documents/llvm/llvm/lib/IR/LegacyPassManager.cpp:586: void
llvm::PMTopLevelManager::setLastUser(llvm::ArrayRef<llvm::Pass*>, llvm::Pass*):
Assertion `AnalysisPass && "Expected analysis pass to exist."' failed.
I have used bugpoint to narrow down the problem, and it shows that the primary
reason is the fourth subsequence "-early-cse-memssa -early-cse-memssa".</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>