<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 - [LoopSimplifyCFG] -enable-loop-simplifycfg-term-folding causes many assertion failures"
   href="https://bugs.llvm.org/show_bug.cgi?id=39783">39783</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[LoopSimplifyCFG]  -enable-loop-simplifycfg-term-folding causes many assertion failures
          </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>Loop Optimizer
          </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>I got a lot of assertions from the previous weeks test runs (csmith), to find
that they were all "hidden" with a later revision. Since I did not find these
asserts here on Bugzilla, I continued with a git bisect and found out that
there has been a new option '-enable-loop-simplifycfg-term-folding' addedwhich
defaults to false, which disables the(se) bug(s).

I continued to make three reduced test cases for the different asserts I saw,
which I will post here in a minute.

And then, after all this, I found that this is actually a known issue with
XFAILing test case using the option:
test/Transforms/LoopSimplifyCFG/phi_with_duplicating_inputs.ll :-/

I wish that this would have been posted here on Bugzilla, or at least explained
as a comment around that option, or in the commit messages. There appears to
not even have been any review made, so I am a bit confused. Perhaps I just
missed this information somewhere?

I wonder now if my test cases are redundant with the XFAILing ones? Could the
committer perhaps make further comments on this, please?</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>