<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 - [mssa-loop-dep] Segmentation fault"
href="https://bugs.llvm.org/show_bug.cgi?id=41640">41640</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[mssa-loop-dep] Segmentation fault
</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>paulsson@linux.vnet.ibm.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=21842" name="attach_21842" title="reduced testcase">attachment 21842</a> <a href="attachment.cgi?id=21842&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase
opt -O3 -S -mtriple=s390x-linux-gnu -mcpu=z13 tc_mssaloop_segflt.ll -o
out.opt.ll -enable-mssa-loop-dependency
Stack dump:
0. Program arguments: opt -O3 -S -mtriple=s390x-linux-gnu -mcpu=z13
tc_mssaloop_segflt.ll -o out.opt.ll -enable-mssa-loop-dependency
1. Running pass 'CallGraph Pass Manager' on module
'tc_mssaloop_segflt.ll'.
2. Running pass 'Loop Pass Manager' on function '@1'
3. Running pass 'Loop Invariant Code Motion' on basic block
'%thread-pre-split.i'
...
#4 0x000002aa029db93e
llvm::MemorySSA::renamePass(llvm::DomTreeNodeBase<llvm::BasicBlock>*,
llvm::MemoryAccess*, llvm::SmallPtrSetImpl<llvm::BasicBloc\
k*>&, bool, bool)
#5 0x000002aa03d32280 llvm::MemorySSAUpdater::insertDef(llvm::MemoryDef*, bool)
#6 0x000002aa03485c24 (anonymous
namespace)::LoopPromoter::doExtraRewritesBeforeFinalDeletion()
#7 0x000002aa037bd64c
llvm::LoadAndStorePromoter::run(llvm::SmallVectorImpl<llvm::Instruction*>
const&)
#8 0x000002aa03483d58
llvm::promoteLoopAccessesToScalars(llvm::SmallSetVector<llvm::Value*, 8u>
const&, llvm::SmallVectorImpl<llvm::BasicBlock*>&, llv\
m::SmallVectorImpl<llvm::Instruction*>&,
llvm::SmallVectorImpl<llvm::MemoryAccess*>&, llvm::PredIteratorCache&,
llvm::LoopInfo*, llvm::DominatorTree*,\
llvm::TargetLibraryInfo const*, llvm::Loop*, llvm::AliasSetTracker*,
llvm::MemorySSAUpdater*, llvm::ICFLoopSafetyInfo*,
llvm::OptimizationRemarkEmitt\
er*)
#9 0x000002aa0348e3bc (anonymous
namespace)::LoopInvariantCodeMotion::runOnLoop(llvm::Loop*, llvm::AAResults*,
llvm::LoopInfo*, llvm::DominatorTree*, \
llvm::TargetLibraryInfo*, llvm::TargetTransformInfo*, llvm::ScalarEvolution*,
llvm::MemorySSA*, llvm::OptimizationRemarkEmitter*, bool) (.constprop.76\
1)
#10 0x000002aa0348ef12 (anonymous
namespace)::LegacyLICMPass::runOnLoop(llvm::Loop*, llvm::LPPassManager&)</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>