<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cszide@163.com" title="Zhide Zhou <cszide@163.com>"> <span class="fn">Zhide Zhou</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange""
   href="https://bugs.llvm.org/show_bug.cgi?id=41725">bug 41725</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;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange""
   href="https://bugs.llvm.org/show_bug.cgi?id=41725#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - loop-interchange makes function broken with "opt -instcombine -licm -structurizecfg -jump-threading -loop-rotate -instcombine -loop-interchange""
   href="https://bugs.llvm.org/show_bug.cgi?id=41725">bug 41725</a>
              from <span class="vcard"><a class="email" href="mailto:cszide@163.com" title="Zhide Zhou <cszide@163.com>"> <span class="fn">Zhide Zhou</span></a>
</span></b>
        <pre>

$clang -v
clang version 10.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
ec630194fe64e9e304487040e808d0696a4f1895)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/jack-zhou/Documents/llvm/llvm_truck/llvm-project/build/bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64

$opt -gvn-hoist  -loop-rotate -sroa -ipconstprop -constprop -simplifycfg
-loop-interchange  gemver.bc 
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Instruction does not dominate all uses!
  %split7 = phi i32 [ %i.1, %for.inc45 ]
  %inc46 = add nsw i32 %split7, 1, !dbg !267
in function kernel_gemver
LLVM ERROR: Broken function found, compilation aborted!

The optimization sequence can be reduced to '-loop-interchange' using bugpoint.

$opt -verify bugpoint-reduced-simplified.bc -loop-interchange
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Instruction does not dominate all uses!
  %split7 = phi i32 [ %i.1, %for.inc45 ]
  %inc46 = add nsw i32 %split7, 1
in function kernel_gemver
LLVM ERROR: Broken function found, compilation aborted!</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>