[llvm-bugs] [Bug 40990] New: opt crashes with "opt -loop-deletion -iv-users"

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 7 05:21:01 PST 2019


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

            Bug ID: 40990
           Summary: opt crashes with "opt -loop-deletion -iv-users"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21573
  --> https://bugs.llvm.org/attachment.cgi?id=21573&action=edit
reproducer

opt -loop-deletion -iv-users -S -o - bbi-25433.ll

crashes with

Stack dump:
0.      Program arguments: build-all/bin/opt -loop-deletion -iv-users -S -o -
bbi-25433.ll 
1.      Running pass 'Function Pass Manager' on module 'bbi-25433.ll'.
2.      Running pass 'Loop Pass Manager' on function '@test'
3.      Releasing pass 'Induction Variable Users'
 #0 0x000000000228a2e4 PrintStackTraceSignalHandler(void*)
(build-all/bin/opt+0x228a2e4)
 #1 0x00000000022882d0 llvm::sys::RunSignalHandlers()
(build-all/bin/opt+0x22882d0)
 #2 0x000000000228a648 SignalHandler(int) (build-all/bin/opt+0x228a648)
 #3 0x00007f02c353e330 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
 #4 0x000000000168d635 llvm::IVUsersWrapperPass::releaseMemory()
(build-all/bin/opt+0x168d635)
 #5 0x0000000001c96e13 llvm::PMDataManager::freePass(llvm::Pass*,
llvm::StringRef, llvm::PassDebuggingString) (build-all/bin/opt+0x1c96e13)
 #6 0x00000000016fce0a llvm::LPPassManager::runOnFunction(llvm::Function&)
(build-all/bin/opt+0x16fce0a)
 #7 0x0000000001c999dd llvm::FPPassManager::runOnFunction(llvm::Function&)
(build-all/bin/opt+0x1c999dd)
 #8 0x0000000001c99c98 llvm::FPPassManager::runOnModule(llvm::Module&)
(build-all/bin/opt+0x1c99c98)
 #9 0x0000000001c9a0fa llvm::legacy::PassManagerImpl::run(llvm::Module&)
(build-all/bin/opt+0x1c9a0fa)
#10 0x000000000078cd45 main (build-all/bin/opt+0x78cd45)
#11 0x00007f02c2118f45 __libc_start_main
/build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:321:0
#12 0x000000000077191d _start (build-all/bin/opt+0x77191d)
Segmentation fault

This seems to be old. I tried with some build from late 2016 and that crashes
too.

-- 
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/20190307/38d1a264/attachment.html>


More information about the llvm-bugs mailing list