Skip to content
  1. Oct 25, 2012
  2. Oct 24, 2012
  3. Oct 18, 2012
    • Chandler Carruth's avatar
      Introduce a BarrierNoop pass, a hack designed to allow *some* control · e8479e15
      Chandler Carruth authored
      over the implicitly-formed-and-nesting CGSCC pass manager and function
      pass managers, especially when using them on the opt commandline or
      using extension points in the module builder. The '-barrier' opt flag
      (or the pass itself) will create a no-op module pass in the pipeline,
      resetting the pass manager stack, and allowing the creation of a new
      pipeline of function passes or CGSCC passes to be created that is
      independent from any previous pipelines.
      
      For example, this can be used to test running two CGSCC passes in
      independent CGSCC pass managers as opposed to in the same CGSCC pass
      manager. It also allows us to introduce a further hack into the
      PassManagerBuilder to separate the O0 pipeline extension passes from the
      always-inliner's CGSCC pass manager, which they likely do not want to
      participate in... At the very least none of the Sanitizer passes want
      this behavior.
      
      This fixes a bug with ASan at O0 currently, and I'll commit the ASan
      test which covers this pass. I'm happy to add a test case that this pass
      exists and works, but not sure how much time folks would like me to
      spend adding test cases for the details of its behavior of partition
      pass managers.... The whole thing is just vile, and mostly intended to
      unblock ASan, so I'm hoping to rip this all out in a brave new pass
      manager world.
      
      llvm-svn: 166172
      e8479e15
  4. Oct 17, 2012
  5. Oct 16, 2012
  6. Oct 15, 2012
  7. Oct 14, 2012
  8. Oct 10, 2012
  9. Oct 09, 2012
  10. Oct 08, 2012
  11. Oct 04, 2012
  12. Oct 02, 2012
  13. Sep 30, 2012
  14. Sep 28, 2012
  15. Sep 27, 2012
  16. Sep 26, 2012
  17. Sep 25, 2012
  18. Sep 24, 2012
  19. Sep 18, 2012
    • Benjamin Kramer's avatar
    • Chandler Carruth's avatar
      Add a major missing piece to the new SROA pass: aggressive splitting of · 42cb9cb1
      Chandler Carruth authored
      FCAs. This is essential in order to promote allocas that are used in
      struct returns by frontends like Clang. The FCA load would block the
      rest of the pass from firing, resulting is significant regressions with
      the bullet benchmark in the nightly test suite.
      
      Thanks to Duncan for repeated discussions about how best to do this, and
      to both him and Benjamin for review.
      
      This appears to have blocked many places where the pass tries to fire,
      and so I'm expect somewhat different results with this fix added.
      
      As with the last big patch, I'm including a change to enable the SROA by
      default *temporarily*. Ben is going to remove this as soon as the LNT
      bots pick up the patch. I'm just trying to get a round of LNT numbers
      from the stable machines in the lab.
      
      NOTE: Four clang tests are expected to fail in the brief window where
      this is enabled. Sorry for the noise!
      
      llvm-svn: 164119
      42cb9cb1
Loading