Skip to content
  1. Feb 19, 2013
  2. Feb 18, 2013
  3. Feb 17, 2013
    • Hal Finkel's avatar
      BBVectorize: Fix an invalid reference bug · 76e65e45
      Hal Finkel authored
      This fixes PR15289. This bug was introduced (recently) in r175215; collecting
      all std::vector references for candidate pairs to delete at once is invalid
      because subsequent lookups in the owning DenseMap could invalidate the
      references.
      
      bugpoint was able to reduce a useful test case. Unfortunately, because whether
      or not this asserts depends on memory layout, this test case will sometimes
      appear to produce valid output. Nevertheless, running under valgrind will
      reveal the error.
      
      llvm-svn: 175397
      76e65e45
    • Bill Wendling's avatar
      The transform is: · 23242098
      Bill Wendling authored
          (or (bool?A:B),(bool?C:D)) --> (bool?(or A,C):(or B,D))
      
      By the time the OR is visited, both the SELECTs have been visited and not
      optimized and the OR itself hasn't been transformed so we do this transform in
      the hopes that the new ORs will be optimized.
      
      The transform is explicitly disabled for vector-selects until "codegen matures
      to handle them better".
      
      Patch by Muhammad Tauqir!
      
      llvm-svn: 175380
      23242098
  4. Feb 16, 2013
  5. Feb 15, 2013
  6. Feb 14, 2013
  7. Feb 13, 2013
  8. Feb 12, 2013
  9. Feb 11, 2013
  10. Feb 09, 2013
  11. Feb 08, 2013
    • Bob Wilson's avatar
      Revert "Add LLVMContext::emitWarning methods and use them. <rdar://problem/12867368>" · bfb44ef9
      Bob Wilson authored
      This reverts r171041. This was a nice idea that didn't work out well.
      Clang warnings need to be associated with warning groups so that they can
      be selectively disabled, promoted to errors, etc. This simplistic patch didn't
      allow for that. Enhancing it to provide some way for the backend to specify
      a front-end warning type seems like overkill for the few uses of this, at
      least for now.
      
      llvm-svn: 174748
      bfb44ef9
    • Hal Finkel's avatar
      BBVectorize: Use TTI->getAddressComputationCost · dd272184
      Hal Finkel authored
      This is a follow-up to the cost-model change in r174713 which splits
      the cost of a memory operation between the address computation and the
      actual memory access. In r174713, this cost is always added to the
      memory operation cost, and so BBVectorize will do the same.
      
      Currently, this new cost function is used only by ARM, and I don't
      have any ARM test cases for BBVectorize. Assistance in generating some
      good ARM test cases for BBVectorize would be greatly appreciated!
      
      llvm-svn: 174743
      dd272184
Loading