[llvm-bugs] [Bug 28725] instcombine/const folding segfaults with attached module

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 27 14:12:33 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28725

Hari Sandanagobalane <haris at nvidia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Hari Sandanagobalane <haris at nvidia.com> ---
A second failure with similar stack trace (source file attached)

#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/20160727/2b3f727c/attachment.html>


More information about the llvm-bugs mailing list