[llvm-bugs] [Bug 28745] New: instcombine/const folding segfaults
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 27 18:33:19 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28745
Bug ID: 28745
Summary: instcombine/const folding segfaults
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: haris at nvidia.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16824
--> https://llvm.org/bugs/attachment.cgi?id=16824&action=edit
module
opt -instcombine crash2.bc
Segfaults with the following trace
#0 0x00007fb0d91bb23f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:402:0
#1 0x00007fb0d91bb601 PrintStackTraceSignalHandler(void*)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:470:0
#2 0x00007fb0d91b9944 llvm::sys::RunSignalHandlers()
/home/tlutz/git/llvm/lib/Support/Signals.cpp:44:0
#3 0x00007fb0d91baba8 SignalHandler(int)
/home/tlutz/git/llvm/lib/Support/Unix/Signals.inc:256:0
#4 0x00007fb0d7bff870 __restore_rt (/lib64/libpthread.so.0+0xf870)
#5 0x00007fb0da759a66 llvm::Value::getType() const
/home/tlutz/git/llvm/include/llvm/IR/Value.h:227:0
#6 0x00007fb0da7bb611 llvm::InstCombiner::visitZExt(llvm::ZExtInst&)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:832:0
#7 0x00007fb0da769631 llvm::InstVisitor<llvm::InstCombiner,
llvm::Instruction*>::visit(llvm::Instruction&)
/home/tlutz/git/llvm/include/llvm/IR/Instruction.def:162:0
#8 0x00007fb0da757f1e llvm::InstCombiner::run()
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:2912:0
#9 0x00007fb0da758e4e combineInstructionsOverFunction(llvm::Function&,
llvm::InstCombineWorklist&, llvm::AAResults*, llvm::AssumptionCache&,
llvm::TargetLibraryInfo&, llvm::DominatorTree&, bool, llvm::LoopInfo*)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/Instruction
Combining.cpp:3141:0
#10 0x00007fb0da759133
llvm::InstructionCombiningPass::runOnFunction(llvm::Function&)
/home/tlutz/git/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3199:0
#11 0x00007fb0db5b24d4 llvm::FPPassManager::runOnFunction(llvm::Function&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1526:0
#12 0x00007fb0db5b2667 llvm::FPPassManager::runOnModule(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1547:0
#13 0x00007fb0db5b29f3 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1603:0
#14 0x00007fb0db5b30e4 llvm::legacy::PassManagerImpl::run(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1706:0
#15 0x00007fb0db5b3325 llvm::legacy::PassManager::run(llvm::Module&)
/home/tlutz/git/llvm/lib/IR/LegacyPassManager.cpp:1738:0
#16 0x0000000000471535 (opt+0x471535)
#17 0x00007fb0d7049b05 __libc_start_main (/lib64/libc.so.6+0x21b05)
#18 0x0000000000457339 (opt+0x457339)
Stack dump:
0. Program arguments: opt -instcombine crash2.ll
1. Running pass 'Function Pass Manager' on module 'crash2.ll'.
2. Running pass 'Combine redundant instructions' on function '@fn2'
--
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/20160728/bd4a3629/attachment-0001.html>
More information about the llvm-bugs
mailing list