<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 - deriche: performance difference with -polly-position=before-vectorizer"
   href="https://bugs.llvm.org/show_bug.cgi?id=34101">34101</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>deriche: performance difference with -polly-position=before-vectorizer
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Polly
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Optimizer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>polly-dev@googlegroups.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>simbuerg@fim.uni-passau.de
          </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=18921" name="attach_18921" title="Preprocessed sources with reduced deriche kernel">attachment 18921</a> <a href="attachment.cgi?id=18921&action=edit" title="Preprocessed sources with reduced deriche kernel">[details]</a></span>
Preprocessed sources with reduced deriche kernel

Hi, using the (somewhat reduced) version of polybench's deriche kernel I get
the following two (weird) results when I compare Polly before the vectorizer to
its default position:

clang -mllvm -polly -mllvm -polly-position=before-vectorizer -O3 -I utilities
-I deriche -DPOLYBENCH_USE_C99_PROTO -DEXTRALARGE_DATASET
-DPOLYBENCH_USE_RESTRICT utilities/polybench.c deriche.dir/deriche.c -lm -o
./deriche.vect.bin

clang -mllvm -polly -O3 -I utilities -I deriche -DPOLYBENCH_USE_C99_PROTO
-DEXTRALARGE_DATASET -DPOLYBENCH_USE_RESTRICT utilities/polybench.c
deriche.dir/deriche.c -lm -o ./deriche.default.bin


/local/simbuerg/benchbuild/results/pj-test-deriche-33ef47b4-c3d5-4b39-8dc3-478aac1cbbcb
master* ⇣ simbuerg@ligeti 6s
❯ time ./deriche.vect.bin
./deriche.vect.bin  23.34s user 0.02s system 99% cpu 23.357 total

/local/simbuerg/benchbuild/results/pj-test-deriche-33ef47b4-c3d5-4b39-8dc3-478aac1cbbcb
master* ⇣ simbuerg@ligeti 23s
❯ time ./deriche.default.bin      ./deriche.default.bin  0.13s user 0.00s
system 96% cpu 0.141 total

Expected result: The produced code should not get slower that without polly
:-).</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>