<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 - AggressiveInstCombine crash"
   href="https://bugs.llvm.org/show_bug.cgi?id=36169">36169</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AggressiveInstCombine crash
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>paulsson@linux.vnet.ibm.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=19782" name="attach_19782" title="reduced testcase">attachment 19782</a> <a href="attachment.cgi?id=19782&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

bin/opt -mtriple=s390x-linux-gnu -mcpu=z13 tc_aggr_instcomb.ll -o out.ll
-inline -early-cse-memssa -simplifycfg -aggressive-instcombine -S

#0 0x0000000002d318a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(bin/opt+0x2d318a8)
#1 0x0000000002d2f846 llvm::sys::RunSignalHandlers() (bin/opt+0x2d2f846)
#2 0x0000000002d2f9b8 SignalHandler(int) (bin/opt+0x2d2f9b8)
#3 0x000000000554dcee
#4 0x00000000027bdaf0 llvm::Type::getScalarSizeInBits() const
(bin/opt+0x27bdaf0)
#5 0x00000000020a436c llvm::TruncInstCombine::getBestTruncatedType()
(bin/opt+0x20a436c)
#6 0x00000000020a44d0 llvm::TruncInstCombine::run(llvm::Function&)
(bin/opt+0x20a44d0)
#7 0x000000000209eb7e (anonymous
namespace)::AggressiveInstCombinerLegacyPass::runOnFunction(llvm::Function&)
(bin/opt+0x209eb7e)
#8 0x000000000277bede llvm::FPPassManager::runOnFunction(llvm::Function&)
(bin/opt+0x277bede)
#9 0x000000000210f8b4 (anonymous
namespace)::CGPassManager::runOnModule(llvm::Module&) (bin/opt+0x210f8b4)
#10 0x000000000277ccee llvm::legacy::PassManagerImpl::run(llvm::Module&)
(bin/opt+0x277ccee)
#11 0x00000000013190ba main (bin/opt+0x13190ba)
#12 0x000003fffd72306a __libc_start_main (/lib64/libc.so.6+0x2306a)
#13 0x0000000001381a9e _start (bin/opt+0x1381a9e)
Stack dump:
0.      Program arguments: bin/opt -mtriple=s390x-linux-gnu -mcpu=z13
tc_aggr_instcomb.ll -o out.ll -inline -early-cse-memssa -simplifycfg
-aggressive-instcombine -S 
1.      Running pass 'CallGraph Pass Manager' on module 'tc_aggr_instcomb.ll'.
2.      Running pass 'Combine pattern based expressions' on function '@3'
Segmentation fault (core dumped)</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>