Skip to content
  1. Aug 15, 2007
  2. Aug 14, 2007
  3. Aug 13, 2007
  4. Aug 12, 2007
  5. Aug 11, 2007
    • Chris Lattner's avatar
      Transform a load from an undef/zero global into an undef/global even if we · 99c8ee29
      Chris Lattner authored
      have complex pointer manipulation going on.  This allows us to compile
      stuff like this:
      
      __m128i foo(__m128i x){
                      static const unsigned int c_0[4] = { 0, 0, 0, 0 };
                      __m128i v_Zero = _mm_loadu_si128((__m128i*)c_0);
                      x  = _mm_unpacklo_epi8(x,  v_Zero);
                      return x;
      }
      
      into:
      
      _foo:
              xorps   %xmm1, %xmm1
              punpcklbw       %xmm1, %xmm0
              ret
      
      llvm-svn: 41022
      99c8ee29
  6. Aug 10, 2007
  7. Aug 09, 2007
  8. Aug 08, 2007
Loading