Skip to content
  1. Jan 13, 2010
  2. Jan 12, 2010
  3. Jan 11, 2010
  4. Jan 09, 2010
  5. Jan 08, 2010
  6. Jan 07, 2010
  7. Jan 06, 2010
    • Evan Cheng's avatar
      Teach dag combine to fold the following transformation more aggressively: · 166a4e6c
      Evan Cheng authored
      (OP (trunc x), (trunc y)) -> (trunc (OP x, y))
      
      Unfortunately this simple change causes dag combine to infinite looping. The problem is the shrink demanded ops optimization tend to canonicalize expressions in the opposite manner. That is badness. This patch disable those optimizations in dag combine but instead it is done as a late pass in sdisel.
      
      This also exposes some deficiencies in dag combine and x86 setcc / brcond lowering. Teach them to look pass ISD::TRUNCATE in various places.
      
      llvm-svn: 92849
      166a4e6c
    • Duncan Sands's avatar
      Fix a README item: have functionattrs look through selects and · c8493da5
      Duncan Sands authored
      phi nodes when deciding which pointers point to local memory.
      I actually checked long ago how useful this is, and it isn't
      very: it hardly ever fires in the testsuite, but since Chris
      wants it here it is!
      
      llvm-svn: 92836
      c8493da5
    • Duncan Sands's avatar
      Partially address a README by having functionattrs consider calls to · 78376ad7
      Duncan Sands authored
      memcpy, memset and other intrinsics that only access their arguments
      to be readnone if the intrinsic's arguments all point to local memory.
      This improves the testcase in the README to readonly, but it could in
      theory be made readnone, however this would involve more sophisticated
      analysis that looks through the memcpy.
      
      llvm-svn: 92829
      78376ad7
Loading