[llvm-bugs] [Bug 43249] New: Segfault: infinite recursion in ScalarEvolution

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 7 00:57:47 PDT 2019


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

            Bug ID: 43249
           Summary: Segfault: infinite recursion in ScalarEvolution
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 22477
  --> https://bugs.llvm.org/attachment.cgi?id=22477&action=edit
reduced testcase

clang -cc1 -triple s390x-ibm-linux -S -O3 -o crash0.s -x ir tc_scev_segfault.ll

...
#245 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#246 0x000002aa2585da08 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbdda08)
#247 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#248 0x000002aa2587fc3e
llvm::ScalarEvolution::createNodeFromSelectLikePHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbffc3e)
#249 0x000002aa25881598 llvm::ScalarEvolution::createNodeForPHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xc01598)
#250 0x000002aa2585df80 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbddf80)
#251 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#252 0x000002aa2585da08 llvm::ScalarEvolution::createSCEV(llvm::Value*)
(.part.1519.constprop.1613)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbdda08)
#253 0x000002aa2585ed2e llvm::ScalarEvolution::getSCEV(llvm::Value*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbded2e)
#254 0x000002aa2587fc3e
llvm::ScalarEvolution::createNodeFromSelectLikePHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xbffc3e)
#255 0x000002aa25881598 llvm::ScalarEvolution::createNodeForPHI(llvm::PHINode*)
(/home/ijonpan/llvm/build/llvm-dev/bin/clang-10+0xc01598)
Segmentation fault
s

-- 
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/20190907/ef8da68f/attachment.html>


More information about the llvm-bugs mailing list