- Aug 10, 2007
-
-
Bill Wendling authored
llvm-svn: 40985
-
Chris Lattner authored
memcpy with zero length is hugely expensive, so avoid it. This speeds up coallescing from 1.17s to 0.88s on siod. llvm-svn: 40984
-
Chris Lattner authored
an empty vector. This speeds up llc slightly. llvm-svn: 40983
-
Bill Wendling authored
llvm-svn: 40982
-
Chris Lattner authored
llvm-svn: 40981
-
Chris Lattner authored
llvm-svn: 40980
-
Devang Patel authored
llvm-svn: 40979
-
Devang Patel authored
llvm-svn: 40978
-
Devang Patel authored
not split condition constraints. llvm-svn: 40977
-
Chris Lattner authored
llvm-svn: 40976
-
Evan Cheng authored
llvm-svn: 40975
-
Dale Johannesen authored
to handle values bigger than double. If we assume host==target and host long double works correctly, this is not too bad, but we don't want to have that limitation longterm. I could implement accepting double constants as long double or something like that, which would lead to incorrect codegen with no errors; the more I think about that the worse it seems. Rather than do such a hack that would be backed out later, I'm settling for giving reasonable error messages, for now. llvm-svn: 40974
-
Evan Cheng authored
llvm-svn: 40973
-
- Aug 09, 2007
-
-
Evan Cheng authored
divb / mulb outputs to ah. Under x86-64 it's not legal to read ah if the instruction requires a rex prefix (i.e. outputs to r8b, etc.). So issue shift right by 8 on AX and then truncate it to 8 bits instead. llvm-svn: 40972
-
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
-
Evan Cheng authored
GR16_ sub-register class should be GR8_, not GR8. That is, it should only be 8-bit registers in 32-bit mode. Ditto for GR32_. llvm-svn: 40970
-
Chris Lattner authored
llvm-svn: 40969
-
Chris Lattner authored
llvm-svn: 40968
-
Chris Lattner authored
llvm-svn: 40967
-
Chris Lattner authored
llvm-svn: 40966
-
Dale Johannesen authored
llvm-svn: 40965
-
Chris Lattner authored
llvm-svn: 40964
-
Chris Lattner authored
llvm-svn: 40963
-
Chris Lattner authored
llvm-svn: 40962
-
Owen Anderson authored
llvm-svn: 40961
-
Devang Patel authored
llvm-svn: 40960
-
Chris Lattner authored
llvm-svn: 40959
-
Dale Johannesen authored
(constants are still not handled). Adds ConvertActions to control fp-to-fp conversions (these are currently defaulted for all other targets, so no changes there). llvm-svn: 40958
-
Dale Johannesen authored
llvm-svn: 40957
-
Chris Lattner authored
This allows us to dump: typedef short S; int test(S X, long long Y) { return X < ((100)); } as: typedef short S; int test(S X, long long Y) (CompoundStmt 0x2905d40 (ReturnStmt 0x2905d30 (BinaryOperator 0x2905d10 'int' '<' (ImplicitCastExpr 0x2905d00 'int' (DeclRefExpr 0x2905c80 'S':'short' Decl='X' 0x2905c20)) (ParenExpr 0x2905ce0 'int' (ParenExpr 0x2905cc0 'int' (IntegerLiteral 0x2905ca0 'int' 100)))))) llvm-svn: 40956
-
Scott Michel authored
to do so. llvm-svn: 40955
-
Chris Lattner authored
the AST in a structural, non-pretty, form useful for understanding the AST. It isn't quite done yet, but is already somewhat useful. For this example: int test(short X, long long Y) { return X < ((100)); } we get (with -parse-ast-dump): int test(short X, long long Y) (CompoundStmt 0x2905ce0 (ReturnStmt 0x2905cd0 (BinaryOperator 0x2905cb0 '<' (ImplicitCastExpr 0x2905ca0 (DeclRefExpr 0x2905c20 Decl='X' 0x2905bb0)) (ParenExpr 0x2905c80 (ParenExpr 0x2905c60 (IntegerLiteral 0x2905c40 100)))))) llvm-svn: 40954
-
Owen Anderson authored
llvm-svn: 40953
-
Devang Patel authored
llvm-svn: 40952
-
Steve Naroff authored
llvm-svn: 40951
-
Owen Anderson authored
llvm-svn: 40950
-
- Aug 08, 2007
-
-
Owen Anderson authored
llvm-svn: 40949
-
Owen Anderson authored
llvm-svn: 40948
-
Devang Patel authored
llvm-svn: 40947
-
Owen Anderson authored
llvm-svn: 40946
-