[LLVMbugs] [Bug 22665] New: Excessive compile time with -fsanitize=undefined

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 23 08:02:21 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22665

            Bug ID: 22665
           Summary: Excessive compile time with -fsanitize=undefined
           Product: compiler-rt
           Version: unspecified
          Hardware: Macintosh
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13930
  --> http://llvm.org/bugs/attachment.cgi?id=13930&action=edit
testcase

markus at 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 at 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*=
 ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150223/7e49c669/attachment.html>


More information about the llvm-bugs mailing list