[LLVMbugs] [Bug 14233] New: jump-threading crash
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 31 18:10:18 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14233
Bug #: 14233
Summary: jump-threading crash
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu, micah.villmow at amd.com
Classification: Unclassified
Created attachment 9480
--> http://llvm.org/bugs/attachment.cgi?id=9480
testcase
Crash on attached testcase.
$ opt -jump-threading b.ll
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
0 opt 0x000000000166c10d
1 opt 0x000000000166bde2
2 libpthread.so.0 0x00007fe6f19f18f0
3 opt 0x0000000000846d3a
4 opt 0x0000000000844ffc
5 opt 0x000000000091c6d4
6 opt 0x000000000091c0ca
7 opt 0x000000000091bed4
8 opt 0x000000000119219c
9 opt 0x0000000001542e68
llvm::DataLayout::getTypeSizeInBits(llvm::Type*) const + 188
10 opt 0x0000000001542d2f
llvm::DataLayout::getPointerTypeSizeInBits(llvm::Type*) const + 51
11 opt 0x000000000154339f
llvm::DataLayout::getIntPtrType(llvm::Type*) const + 35
12 opt 0x00000000012ffcb3
llvm::ConstantFoldCompareInstOperands(unsigned int, llvm::Constant*,
llvm::Constant*, llvm::DataLayout const*, llvm::TargetLibraryInfo const*) + 852
13 opt 0x00000000013411ee
14 opt 0x0000000001342e74
15 opt 0x0000000001342359
16 opt 0x0000000001341ddf
17 opt 0x00000000013446a9
18 opt 0x00000000013450a5
llvm::LazyValueInfo::getPredicateOnEdge(unsigned int, llvm::Value*,
llvm::Constant*, llvm::BasicBlock*, llvm::BasicBlock*) + 123
[...]
28 opt 0x0000000000837a7c main + 5457
29 libc.so.6 0x00007fe6f0cc8c4d __libc_start_main + 253
30 opt 0x0000000000827829
Stack dump:
0. Program arguments: llvm/Debug+Asserts/bin/opt -jump-threading b.ll
1. Running pass 'Function Pass Manager' on module 'b.ll'.
2. Running pass 'Jump Threading' on function '@test'
Segmentation fault
--
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