<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compiler abort in 01 in SROA pass"
   href="https://bugs.llvm.org/show_bug.cgi?id=35657">35657</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiler abort in 01 in SROA pass
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>santosh.zanjurne@amd.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19545" name="attach_19545" title="test case">attachment 19545</a> <a href="attachment.cgi?id=19545&action=edit" title="test case">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>