<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - Excessive compile time with -fsanitize=undefined"
   href="http://llvm.org/bugs/show_bug.cgi?id=22665">22665</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Excessive compile time with -fsanitize=undefined
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>octoploid@yandex.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=13930" name="attach_13930" title="testcase">attachment 13930</a> <a href="attachment.cgi?id=13930&action=edit" title="testcase">[details]</a></span>
testcase

markus@x4 src % time gcc -g -fsanitize=undefined -O3 -fPIC -msse2
-DHAVE_CONFIG_H -I../easel -I../libdivsufsort -I../easel -I. -I. -o
generic_optacc.o -c generic_optacc.c
-> 1.33s user 0.03s system 99% cpu 1.364 total

markus@x4 src % time clang -g -fsanitize=undefined -O3 -fPIC -msse2
-DHAVE_CONFIG_H -I../easel -I../libdivsufsort -I../easel -I. -I. -o
generic_optacc.o -c generic_optacc.c
-> 645.92s user 0.25s system 99% cpu 10:46.25 total


perf shows:

  24.69%  libLLVMCodeGen.so.3.7.0svn            [.] (anonymous
namespace)::InlineSpiller::propagateSiblingValue
  23.47%  libLLVMSupport.so.3.7.0svn            [.]
llvm::BranchProbability::scale
  13.35%  libLLVMCodeGen.so.3.7.0svn            [.] (anonymous
namespace)::InlineSpiller::traceSiblingValue
  11.91%  libLLVMCodeGen.so.3.7.0svn            [.]
llvm::MachineBlockFrequencyInfo::getBlockFreq
   3.26%  libLLVMSupport.so.3.7.0svn            [.]
llvm::BlockFrequency::operator*=
 ...</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>