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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13930
  --> http://llvm.org/bugs/attachment.cgi?id=13930&action=edit
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*=
 ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to