Skip to content
  1. Dec 12, 2005
    • Andrew Lenharth's avatar
      restore a more restricted select · b8296181
      Andrew Lenharth authored
      llvm-svn: 24668
      b8296181
    • Chris Lattner's avatar
      Implement a little hack for parity with GCC on crafty. This speeds up · 3b0a62d8
      Chris Lattner authored
      186.crafty by about 16% (from 15.109s to 13.045s) on my system.
      
      This turns allocas with unions/casts into scalars.  For example crafty has
      something like this:
      
          union doub {
            unsigned short i[4];
            long long d;
          };
      int f(long long a) {
        return ((union doub){.d=a}).i[1];
      }
      
      Instead of generating loads and stores to an alloca, we now promote the
      whole thing to a scalar long value.
      
      This implements: Transforms/ScalarRepl/AggregatePromote.ll
      
      llvm-svn: 24667
      3b0a62d8
  2. Dec 11, 2005
  3. Dec 10, 2005
  4. Dec 09, 2005
  5. Dec 08, 2005
  6. Dec 07, 2005
  7. Dec 06, 2005
Loading