[LLVMbugs] [Bug 14368] New: opt -memdep -gvn crash
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Nov 17 08:33:17 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14368
Bug #: 14368
Summary: opt -memdep -gvn crash
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: matti.niemenmaa+llvmbugs at iki.fi
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9558
--> http://llvm.org/bugs/attachment.cgi?id=9558
Testcase
$ opt --version
LLVM (http://llvm.org/):
LLVM version 3.2svn
DEBUG build with assertions.
Built Nov 17 2012 (17:58:08).
Default target: x86_64-unknown-linux-gnu
Host CPU: penryn
$ opt -memdep -gvn < bugpoint-reduced-simplified.ll -S
0 opt 0x00000000012dffce
1 opt 0x00000000012e04ca
2 libpthread.so.0 0x00007fc175ca21a0
3 opt 0x0000000000a844f4
4 opt 0x0000000000f784dd
llvm::MemoryDependenceAnalysis::getNonLocalPointerDepFromBB(llvm::PHITransAddr
const&, llvm::AliasAnalysis::Location const&, bool, llvm::BasicBlock*,
llvm::SmallVectorImpl<llvm::NonLocalDepResult>&,
llvm::DenseMap<llvm::BasicBlock*, llvm::Value*,
llvm::DenseMapInfo<llvm::BasicBlock*> >&, bool) + 2765
5 opt 0x0000000000f77954
llvm::MemoryDependenceAnalysis::getNonLocalPointerDependency(llvm::AliasAnalysis::Location
const&, bool, llvm::BasicBlock*,
llvm::SmallVectorImpl<llvm::NonLocalDepResult>&) + 260
6 opt 0x0000000000c7eff6
7 opt 0x0000000000c7aa99
8 opt 0x0000000000c79e37
9 opt 0x0000000000c79ad8
10 opt 0x0000000000c768a3
11 opt 0x0000000000c76680
12 opt 0x000000000125a10f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 431
13 opt 0x000000000125a40d
llvm::FPPassManager::runOnModule(llvm::Module&) + 125
14 opt 0x000000000125a655
llvm::MPPassManager::runOnModule(llvm::Module&) + 485
15 opt 0x000000000125af7d llvm::PassManagerImpl::run(llvm::Module&)
+ 157
16 opt 0x000000000125b161 llvm::PassManager::run(llvm::Module&) +
33
17 opt 0x00000000005f52cb main + 6715
18 libc.so.6 0x00007fc174ef7725 __libc_start_main + 245
19 opt 0x00000000005e4139
Stack dump:
0. Program arguments: opt -memdep -gvn -S
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Global Value Numbering' on function '@foo'
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list