Skip to content
  1. Jan 12, 2014
  2. Jan 07, 2014
  3. Jan 02, 2014
  4. Dec 27, 2013
  5. Dec 20, 2013
  6. Nov 17, 2013
    • Hal Finkel's avatar
      Add -freroll-loops to enable loop rerolling · ce0697f4
      Hal Finkel authored
      This adds -freroll-loops (and -fno-reroll-loops in the usual way) to enable
      loop rerolling as part of the optimization pass manager. This transformation
      can enable vectorization, reduce code size (or both).
      
      Briefly, loop rerolling can transform a loop like this:
      
      for (int i = 0; i < 3200; i += 5) {
        a[i]     += alpha * b[i];
        a[i + 1] += alpha * b[i + 1];
        a[i + 2] += alpha * b[i + 2];
        a[i + 3] += alpha * b[i + 3];
        a[i + 4] += alpha * b[i + 4];
      }
      
      into this:
      
      for (int i = 0; i < 3200; ++i) {
        a[i] += alpha * b[i];
      }
      
      Loop rerolling is currently disabled by default at all optimization levels.
      
      llvm-svn: 194967
      ce0697f4
  7. Nov 13, 2013
    • Diego Novillo's avatar
      Add -fprofile-sample-use to Clang's driver. · 5c29705c
      Diego Novillo authored
      This adds a new option -fprofile-sample-use=filename to Clang. It
      tells the driver to schedule the SampleProfileLoader pass and passes
      on the name of the profile file to use.
      
      llvm-svn: 194567
      5c29705c
  8. Oct 23, 2013
    • Richard Smith's avatar
      Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted · 6b53e224
      Richard Smith authored
      check using the ubsan runtime) and -fsanitize=local-bounds (for the middle-end
      check which inserts traps).
      
      Remove -fsanitize=local-bounds from -fsanitize=undefined. It does not produce
      useful diagnostics and has false positives (PR17635), and is not a good
      compromise position between UBSan's checks and ASan's checks.
      
      Map -fbounds-checking to -fsanitize=local-bounds to restore Clang's historical
      behavior for that flag.
      
      llvm-svn: 193205
      6b53e224
  9. Aug 14, 2013
  10. Aug 08, 2013
    • Peter Collingbourne's avatar
      DataFlowSanitizer; Clang changes. · c377275a
      Peter Collingbourne authored
      DataFlowSanitizer is a generalised dynamic data flow analysis.
      
      Unlike other Sanitizer tools, this tool is not designed to detect a
      specific class of bugs on its own.  Instead, it provides a generic
      dynamic data flow analysis framework to be used by clients to help
      detect application-specific issues within their own code.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D966
      
      llvm-svn: 187925
      c377275a
  11. Aug 01, 2013
  12. Jul 25, 2013
  13. Jul 13, 2013
  14. Jun 25, 2013
  15. Jun 21, 2013
  16. Jun 20, 2013
    • Meador Inge's avatar
      CodeGen: Don't set 'PMBuilder.DisableSimplifyLibCalls' · f081d025
      Meador Inge authored
      The simplify-libcalls pass has been removed from LLVM.  Thus
      'PMBuilder.DisableSimplifyLibCalls' does not exist anymore.
      The disabling/enabling of library call simplifications is
      done through the TargetLibraryInfo which is already wired
      up in Clang.
      
      llvm-svn: 184458
      f081d025
  17. Apr 04, 2013
  18. Mar 27, 2013
  19. Mar 26, 2013
  20. Mar 20, 2013
  21. Mar 14, 2013
  22. Mar 07, 2013
  23. Feb 27, 2013
  24. Jan 31, 2013
    • Evgeniy Stepanov's avatar
      [msan] Run more optimizations after MemorySanitizer pass. · 10284671
      Evgeniy Stepanov authored
      MSan instrumentation is driven by the original code. We take every
      incoming instruction and emit another instruction (or ten) next to
      it, operating on the shadow values (but sometimes on the real values,
      too). Two programs in one, essentially. There can be any kinds of
      redundancies in the second one, so we just run whatever is normally
      run at -O2, and then exclude some passes that do not help much with
      benchmarks.
      
      llvm-svn: 174049
      10284671
  25. Jan 28, 2013
  26. Jan 20, 2013
  27. Jan 18, 2013
  28. Jan 07, 2013
  29. Jan 05, 2013
  30. Jan 02, 2013
  31. Dec 28, 2012
  32. Dec 24, 2012
  33. Dec 11, 2012
  34. Dec 10, 2012
  35. Dec 04, 2012
    • Chandler Carruth's avatar
      Sort all of Clang's files under 'lib', and fix up the broken headers · 3a02247d
      Chandler Carruth authored
      uncovered.
      
      This required manually correcting all of the incorrect main-module
      headers I could find, and running the new llvm/utils/sort_includes.py
      script over the files.
      
      I also manually added quite a few missing headers that were uncovered by
      shuffling the order or moving headers up to be main-module-headers.
      
      llvm-svn: 169237
      3a02247d
  36. Dec 03, 2012
Loading