[llvm-bugs] [Bug 41640] New: [mssa-loop-dep] Segmentation fault
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 28 10:10:12 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41640
Bug ID: 41640
Summary: [mssa-loop-dep] Segmentation fault
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 21842
--> https://bugs.llvm.org/attachment.cgi?id=21842&action=edit
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&)
--
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/20190428/fc98eb73/attachment-0001.html>
More information about the llvm-bugs
mailing list