[llvm-bugs] [Bug 35657] New: Compiler abort in 01 in SROA pass

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 13 23:14:52 PST 2017


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

            Bug ID: 35657
           Summary: Compiler abort in 01 in SROA pass
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: santosh.zanjurne at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19545
  --> https://bugs.llvm.org/attachment.cgi?id=19545&action=edit
test case

The issue is started from svn r319522

r319522 | inouehrs | 2017-12-01 06:05:05 +0000 (Fri, 01 Dec 2017) | 5 lines

Recommit rL319407: [SROA] enable splitting for non-whole-alloca loads and
stores

Recommiting once reverted patch rL319407 after adding a check for bit vector
size to avoid failures in some build bots.



#8 0x00002aaaac1458a3 llvm::SROA::rewritePartition(llvm::AllocaInst&,
llvm::sroa::AllocaSlices&, llvm::sroa::Partition&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x125a8a3)
#9 0x00002aaaac145c35 llvm::SROA::splitAlloca(llvm::AllocaInst&,
llvm::sroa::AllocaSlices&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x125ac35)
#10 0x00002aaaac1472a3 llvm::SROA::runOnAlloca(llvm::AllocaInst&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x125c2a3)
#11 0x00002aaaac14865a llvm::SROA::runImpl(llvm::Function&,
llvm::DominatorTree&, llvm::AssumptionCache&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x125d65a)
#12 0x00002aaaac149038
llvm::sroa::SROALegacyPass::runOnFunction(llvm::Function&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x125e038)
#13 0x00002aaaab6ef883 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/amd/santosh/llvm/trunk-install/bin/../lib/libLLVM-6.0svn.so+0x804883)


Error log and test case attached.

-- 
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/20171214/657e2bda/attachment.html>


More information about the llvm-bugs mailing list