- Aug 12, 2007
-
-
Devang Patel authored
llvm-svn: 41029
-
Reid Spencer authored
llvm-svn: 41028
-
- Aug 11, 2007
-
-
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
-
- Aug 10, 2007
-
-
Devang Patel authored
llvm-svn: 40998
-
Devang Patel authored
llvm-svn: 40997
-
Devang Patel authored
llvm-svn: 40979
-
Devang Patel authored
llvm-svn: 40978
-
Devang Patel authored
not split condition constraints. llvm-svn: 40977
-
- Aug 09, 2007
-
-
Chris Lattner authored
alloca, increase the alignment of the load, turning it into an aligned load. This allows us to compile: #include <xmmintrin.h> __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: punpcklbw _c_0.5944, %xmm0 ret .data .lcomm _c_0.5944,16,4 # c_0.5944 instead of: _foo: movdqu _c_0.5944, %xmm1 punpcklbw %xmm1, %xmm0 ret .data .lcomm _c_0.5944,16,2 # c_0.5944 llvm-svn: 40971
-
Owen Anderson authored
llvm-svn: 40961
-
Devang Patel authored
llvm-svn: 40960
-
Devang Patel authored
llvm-svn: 40952
-
- Aug 08, 2007
-
-
Devang Patel authored
llvm-svn: 40947
-
Owen Anderson authored
llvm-svn: 40946
-
Devang Patel authored
llvm-svn: 40944
-
Devang Patel authored
llvm-svn: 40941
-
Owen Anderson authored
llvm-svn: 40936
-
Owen Anderson authored
and one hack to avoid hitting a bad case when the alias analysis is imprecise. llvm-svn: 40935
-
Owen Anderson authored
it for potentially undeading pointers. llvm-svn: 40933
-
Owen Anderson authored
No functionality change. llvm-svn: 40932
-
Owen Anderson authored
llvm-svn: 40922
-
Owen Anderson authored
llvm-svn: 40919
-
Devang Patel authored
llvm-svn: 40915
-
Devang Patel authored
llvm-svn: 40912
-
Owen Anderson authored
llvm-svn: 40909
-
- Aug 07, 2007
-
-
Devang Patel authored
llvm-svn: 40903
-
David Greene authored
Fix comment typo llvm-svn: 40898
-
David Greene authored
Fix GLIBCXX_DEBUG error triggered by incrementing erased iterator. llvm-svn: 40897
-
Devang Patel authored
llvm-svn: 40883
-
- Aug 06, 2007
-
-
Nick Lewycky authored
llvm-svn: 40870
-
David Greene authored
Make this code more efficient. llvm-svn: 40861
-
Chris Lattner authored
llvm-svn: 40859
-
- Aug 05, 2007
-
-
Reid Spencer authored
actual argument name of the documented function. llvm-svn: 40851
-
Chris Lattner authored
This shrinks it down to something small. On the testcase from PR1432, this speeds up instcombine from 0.7959s to 0.5000s, (59%) llvm-svn: 40840
-
Chris Lattner authored
In the old way, we computed and inserted phi nodes for the whole IDF of the definitions of the alloca, then computed which ones were dead and removed them. In the new method, we first compute the region where the value is live, and use that information to only insert phi nodes that are live. This eliminates the need to compute liveness later, and stops the algorithm from inserting a bunch of phis which it then later removes. This speeds up the testcase in PR1432 from 2.00s to 0.15s (14x) in a release build and 6.84s->0.50s (14x) in a debug build. llvm-svn: 40825
-
- Aug 04, 2007
-
-
Chris Lattner authored
llvm-svn: 40824
-
Chris Lattner authored
measurable speedup. llvm-svn: 40823
-
Chris Lattner authored
to the worklist, and handling the last one with a 'tail call'. This speeds up PR1432 from 2.0578s to 2.0012s (2.8%) llvm-svn: 40822
-
Chris Lattner authored
mem2reg from 2.0742->2.0522s on PR1432. llvm-svn: 40821
-
Chris Lattner authored
llvm-svn: 40820
-