Skip to content
  1. Dec 05, 2008
    • Chris Lattner's avatar
      Make a few major changes to memdep and its clients: · 0e3d6337
      Chris Lattner authored
      1. Merge the 'None' result into 'Normal', making loads
         and stores return their dependencies on allocations as Normal.
      2. Split the 'Normal' result into 'Clobber' and 'Def' to
         distinguish between the cases when memdep knows the value is
         produced from when we just know if may be changed.
      3. Move some of the logic for determining whether readonly calls
         are CSEs into memdep instead of it being in GVN.  This still
         leaves verification that the arguments are hte same to GVN to
         let it know about value equivalences in different contexts.
      4. Change memdep's call/call dependency analysis to use 
         getModRefInfo(CallSite,CallSite) instead of doing something 
         very weak.  This only really matters for things like DSA, but
         someday maybe we'll have some other decent context sensitive
         analyses :)
      5. This reimplements the guts of memdep to handle the new results.
      6. This simplifies GVN significantly:
         a) readonly call CSE is slightly simpler
         b) I eliminated the "getDependencyFrom" chaining for load 
            elimination and load CSE doesn't have to worry about 
            volatile (they are always clobbers) anymore.
         c) GVN no longer does any 'lastLoad' caching, leaving it to 
            memdep.
      7. The logic in DSE is simplified a bit and sped up.  A potentially
         unsafe case was eliminated.
      
      llvm-svn: 60607
      0e3d6337
    • Anton Korobeynikov's avatar
      Revert invalid r60393. It causes llvm-gcc bootstrap fails in release builds. · 24600bf0
      Anton Korobeynikov authored
      See PR3160 for details
      
      llvm-svn: 60604
      24600bf0
    • Chris Lattner's avatar
      Fix test/Transforms/GVN/pre-load.ll · c1008280
      Chris Lattner authored
      llvm-svn: 60594
      c1008280
    • Chris Lattner's avatar
      Make IsValueFullyAvailableInBlock safe. · d2a653af
      Chris Lattner authored
      llvm-svn: 60588
      d2a653af
  2. Dec 04, 2008
  3. Dec 03, 2008
  4. Dec 02, 2008
  5. Dec 01, 2008
Loading