<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:brzycki@gmail.com" title="Brian Rzycki <brzycki@gmail.com>"> <span class="fn">Brian Rzycki</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm hangs in JumpThreading::runOnFunction"
   href="https://bugs.llvm.org/show_bug.cgi?id=12218">bug 12218</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>brzycki@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm hangs in JumpThreading::runOnFunction"
   href="https://bugs.llvm.org/show_bug.cgi?id=12218#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm hangs in JumpThreading::runOnFunction"
   href="https://bugs.llvm.org/show_bug.cgi?id=12218">bug 12218</a>
              from <span class="vcard"><a class="email" href="mailto:brzycki@gmail.com" title="Brian Rzycki <brzycki@gmail.com>"> <span class="fn">Brian Rzycki</span></a>
</span></b>
        <pre>I just tested clang_hang.c with LLVM tip and cannot reproduce the problem.

brzycki@cc01 ~ $ /work/brzycki/tip/install/bin/clang --version
clang version 7.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /work/brzycki/tip/install/bin
brzycki@cc01 ~ $ time /work/brzycki/tip/install/bin/clang clang_hang.c -w -O2
-c

real    0m3.302s
user    0m3.216s
sys     0m0.076s
brzycki@cc01 ~ $ time /work/brzycki/tip/install/bin/clang clang_hang.c -w -O3
-c

real    0m3.485s
user    0m3.420s
sys     0m0.056s


The commit I tested is from
<a href="https://github.com/llvm-project/llvm-project-20170507.git">https://github.com/llvm-project/llvm-project-20170507.git</a> using SHA:

commit 17e2331a3dc55d28e2986556a1b25b080c3861a5 (HEAD -> master, origin/master,
origin/HEAD)
Author: Craig Topper <<a href="mailto:craig.topper@intel.com">craig.topper@intel.com</a>>
Date:   Mon Jul 9 18:23:55 2018 +0000

    [SelectionDAG] Add VT consistency checks to the creation of ISD::FMA.

    This is similar to what is done for binops. I don't know if this would have
helped us catch the bug fixed in r336566 earlier or not, but I figured it
couldn't hurt.</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>