Skip to content
  1. Apr 26, 2005
    • Reid Spencer's avatar
      Incorporate feedback from Chris: · 8ee5aacc
      Reid Spencer authored
      * Change signatures of OptimizeCall and ValidateCalledFunction so they are
        non-const, allowing the optimization object to be modified. This is in
        support of caching things used across multiple calls.
      * Provide two functions for constructing and caching function types
      * Modify the StrCatOptimization to cache Function objects for strlen and
        llvm.memcpy so it doesn't regenerate them on each call site. Make sure
        these are invalidated each time we start the pass.
      * Handle both a GEP Instruction and a GEP ConstantExpr
      * Add additional checks to make sure we really are dealing with an arary of
        sbyte and that all the element initializers are ConstantInt or
        ConstantExpr that reduce to ConstantInt.
      * Make sure the GlobalVariable is constant!
      * Don't use ConstantArray::getString as it can fail and it doesn't give us
        the right thing. We must check for null bytes in the middle of the array.
      * Use llvm.memcpy instead of memcpy so we can factor alignment into it.
      * Don't use void* types in signatures, replace with sbyte* instead.
      
      llvm-svn: 21555
      8ee5aacc
    • Jeff Cohen's avatar
      Add SimplyLibCalls.cpp to VC++ build · d45bdb45
      Jeff Cohen authored
      llvm-svn: 21554
      d45bdb45
    • Reid Spencer's avatar
      Fix RUN: line to not always pass. · 342fe9a8
      Reid Spencer authored
      llvm-svn: 21553
      342fe9a8
    • Chris Lattner's avatar
      Fold (X > -1) | (Y > -1) --> (X&Y > -1) · cfa7ddd6
      Chris Lattner authored
      llvm-svn: 21552
      cfa7ddd6
  2. Apr 25, 2005
  3. Apr 24, 2005
Loading