Skip to content
  1. Dec 15, 2008
    • Owen Anderson's avatar
      Add support for slow-path GVN with full phi construction for scalars. This is... · bfe133e4
      Owen Anderson authored
      Add support for slow-path GVN with full phi construction for scalars.  This is disabled for now, as it actually pessimizes code in the abscence
      of phi translation for load elimination.  This slow down GVN a bit, by about 2% on 403.gcc.
      
      llvm-svn: 61021
      bfe133e4
    • Nick Lewycky's avatar
      Fix whitespace in comment. · e88d388f
      Nick Lewycky authored
      Remove TODO; icmp isn't a binary operator, so this function will never deal
      with them.
      
      llvm-svn: 61020
      e88d388f
    • Nick Lewycky's avatar
      Introducing nocapture, a parameter attribute for pointers to indicate that the · ddffe620
      Nick Lewycky authored
      callee will not introduce any new aliases of that pointer.
      
      The attributes had all bits allocated already, so I decided to collapse
      alignment. Alignment was previously stored as a 16-bit integer from bits 16 to
      32 of the attribute, but it was required to be a power of 2. Now it's stored in
      log2 encoded form in five bits from 16 to 21. That gives us 11 more bits of
      space.
      
      You may have already noticed that you only need four bits to encode a 16-bit
      power of two, so why five bits? Because the AsmParser accepted 32-bit
      alignments, even though we couldn't store them (they were silently discarded).
      Now we can store them in memory, but not in the bitcode.
      
      The bitcode format was already storing these as 64-bit VBR integers. So, the
      bitcode format stays the same, keeping the alignment values stored as 16 bit
      raw values. There's some hideous code in the reader and writer that deals with
      this, waiting to be ripped out the moment we run out of bits again and have to
      replace the parameter attributes table encoding.
      
      llvm-svn: 61019
      ddffe620
  2. Dec 14, 2008
  3. Dec 13, 2008
  4. Dec 12, 2008
  5. Dec 11, 2008
  6. Dec 10, 2008
Loading