Skip to content
  1. Jul 31, 2013
  2. Jul 30, 2013
  3. Jul 29, 2013
  4. Jul 28, 2013
  5. Jul 27, 2013
    • Chandler Carruth's avatar
      Create a constant pool symbol for the GOT in the ARMCGBR the same way we · 26ad41ed
      Chandler Carruth authored
      do in the SDag when lowering references to the GOT: use
      ARMConstantPoolSymbol rather than creating a dummy global variable. The
      computation of the alignment still feels weird (it uses IR types and
      datalayout) but it preserves the exact previous behavior. This change
      fixes the memory leak of the global variable detected on the valgrind
      leak checking bot.
      
      Thanks to Benjamin Kramer for pointing me at ARMConstantPoolSymbol to
      handle this use case.
      
      llvm-svn: 187303
      26ad41ed
    • Chandler Carruth's avatar
      Fix yet another memory leak found by the vg-leak bot. Folks (including · 1c82d331
      Chandler Carruth authored
      me) should start watching this bot more as its catching lots of bugs.
      
      The fix here is to not construct the global if we aren't going to need
      it. That's cheaper anyways, and globals have highly predictable types in
      practice. I've added an assert to catch skew between our manual testing
      of the type and the actual type just for paranoia's sake.
      
      Note that this pattern is actually fine in most globals because when you
      build a global with a module it automatically is moved to be owned by
      that module. But here, we're in isel and don't really want to do that.
      The solution of not creating a global is simpler anyways.
      
      llvm-svn: 187302
      1c82d331
    • Chandler Carruth's avatar
      Fix a memory leak in the hexagon scheduler. We call initialize here more · c18e39ca
      Chandler Carruth authored
      than once, and the second time through we leaked memory. Found thanks to
      the vg-leak bot, but I can't locally reproduce it with valgrind. The
      debugger confirms that it is in fact leaking here.
      
      This whole code is totally gross. Why is initialize being called on each
      runOnFunction??? Why aren't these OwningPtr<>s, and why aren't their
      lifetimes better defined? Anyways, this is just a surgical change to
      help out the leak checking bots.
      
      llvm-svn: 187299
      c18e39ca
    • Tom Stellard's avatar
      SimplifyCFG: Use parallel-and and parallel-or mode to consolidate branch conditions · 8b1e021e
      Tom Stellard authored
      Merge consecutive if-regions if they contain identical statements.
      Both transformations reduce number of branches.  The transformation
      is guarded by a target-hook, and is currently enabled only for +R600,
      but the correctness has been tested on X86 target using a variety of
      CPU benchmarks.
      
      Patch by: Mei Ye
      
      llvm-svn: 187278
      8b1e021e
    • Rafael Espindola's avatar
      Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc." · 05b5a46e
      Rafael Espindola authored
      This reverts commit r187248. It broke many bots.
      
      llvm-svn: 187254
      05b5a46e
  6. Jul 26, 2013
Loading