<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 - NewGVN.cpp:1623: (anonymous namespace)::CongruenceClass *(anonymous namespace)::NewGVN::getMemoryClass(const llvm::MemoryAccess *) const: Assertion `Result && "Should have found memory class"' failed. with opt -passes='loop-mssa(loop-rotate),newgvn'"
href="https://bugs.llvm.org/show_bug.cgi?id=52058">52058</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>NewGVN.cpp:1623: (anonymous namespace)::CongruenceClass *(anonymous namespace)::NewGVN::getMemoryClass(const llvm::MemoryAccess *) const: Assertion `Result && "Should have found memory class"' failed. with opt -passes='loop-mssa(loop-rotate),newgvn'
</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>mikael.holmen@ericsson.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=25321" name="attach_25321" title="bbi-61012.ll reproducer">attachment 25321</a> <a href="attachment.cgi?id=25321&action=edit" title="bbi-61012.ll reproducer">[details]</a></span>
bbi-61012.ll reproducer
llvm commit: 5f7a5353301
Reproduce with:
opt -passes='loop-mssa(loop-rotate),newgvn' -o /dev/null bbi-61012.ll
Result:
opt: ../lib/Transforms/Scalar/NewGVN.cpp:1623: (anonymous
namespace)::CongruenceClass *(anonymous
namespace)::NewGVN::getMemoryClass(const llvm::MemoryAccess *) const: Assertion
`Result && "Should have found memory class"' failed.
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments: ../../master-github/llvm/build-all/bin/opt
-passes=loop-mssa(loop-rotate),newgvn -o /dev/null bbi-61012.ll
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
../../master-github/llvm/build-all/bin/opt(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x23)[0x2b448b3]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm3sys17RunSignalHandlersEv+0xee)[0x2b4252e]
../../master-github/llvm/build-all/bin/opt[0x2b44c36]
/lib64/libpthread.so.0(+0xf630)[0x7fe93a571630]
/lib64/libc.so.6(gsignal+0x37)[0x7fe937ca4387]
/lib64/libc.so.6(abort+0x148)[0x7fe937ca5a78]
/lib64/libc.so.6(+0x2f1a6)[0x7fe937c9d1a6]
/lib64/libc.so.6(+0x2f252)[0x7fe937c9d252]
../../master-github/llvm/build-all/bin/opt[0x299670c]
../../master-github/llvm/build-all/bin/opt[0x298c4f8]
../../master-github/llvm/build-all/bin/opt[0x2985a4b]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm10NewGVNPass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE+0x270)[0x2983310]
../../master-github/llvm/build-all/bin/opt[0x2e2f07d]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x205)[0x22f54f5]
../../master-github/llvm/build-all/bin/opt[0xad05ed]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x286)[0x22f9876]
../../master-github/llvm/build-all/bin/opt[0x78ba9d]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x208)[0x22f4638]
../../master-github/llvm/build-all/bin/opt(_ZN4llvm15runPassPipelineENS_9StringRefERNS_6ModuleEPNS_13TargetMachineEPNS_21TargetLibraryInfoImplEPNS_14ToolOutputFileES8_S8_S0_NS_8ArrayRefIS0_EENS_8opt_tool10OutputKindENSB_12VerifierKindEbbbbb+0x38f2)[0x783f82]
../../master-github/llvm/build-all/bin/opt(main+0x3aa6)[0x7964a6]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fe937c90555]
../../master-github/llvm/build-all/bin/opt[0x77ef7c]
Abort</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>