Skip to content
  1. Mar 04, 2009
  2. Mar 03, 2009
  3. Mar 02, 2009
  4. Mar 01, 2009
    • Gabor Greif's avatar
      Another sentinel optimization. This one should always · 144fa6a0
      Gabor Greif authored
      be a win, since almost every interesting function has at least one Argument.
      
      llvm-svn: 65778
      144fa6a0
    • Gabor Greif's avatar
      Reuse a technique (pioneered for BasicBlocks) of superposing ilist with · 6f8d4ae3
      Gabor Greif authored
      its sentinel. This is quite a win when a function really has a basic block.                  
      When the function is just a declaration (and stays so) the old way did not
      allocate a sentinel. So this change is most beneficial when the ratio of
      function definition to declaration is high. I.e. linkers etc. Incidentally  
      these are the most resource demanding applications, so I expect that the
      reduced malloc traffic, locality and space savings outweigh the cost of
      addition of two pointers to Function.
      
      llvm-svn: 65776
      6f8d4ae3
    • Bill Wendling's avatar
      Temporarily revert r65755. It was causing failures in the self-hosting · 38eae046
      Bill Wendling authored
      testsuite:
      
      Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/dg.exp ...
      FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/nancvt.ll
      Failed with exit(1) at line 2
      while running: grep 2147027116 nancvt.ll.tmp | count 3
      count: expected 3 lines and got        0.
      child process exited abnormally
      FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll
      Failed with exit(1) at line 1
      while running:  llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll |  opt -scalarrepl -instcombine |   llc -march=x86 -mcpu=yonah | not /usr/bin/grep sub.*esp
            subl      $28, %esp
            subl      $28, %esp
      child process exited abnormally
      
      And more.
      
      llvm-svn: 65758
      38eae046
    • Chris Lattner's avatar
      hoist the check for alloca size up so that it controls CanConvertToScalar · e2bb5e31
      Chris Lattner authored
      as well as isSafeAllocaToScalarRepl.
      
      llvm-svn: 65755
      e2bb5e31
Loading