- Jul 14, 2007
-
-
Chris Lattner authored
llvm-svn: 39848
-
Chris Lattner authored
llvm-svn: 39847
-
Gabor Greif authored
llvm-svn: 39841
-
Chris Lattner authored
where ASTContext can manage caches for struct layout, etc. llvm-svn: 39835
-
- Jul 13, 2007
-
-
Chris Lattner authored
llvm-svn: 39831
-
Chris Lattner authored
llvm-svn: 39824
-
Chris Lattner authored
Both in one patch, and the test case that Chris didn't commit last time is in there too... I'll split the patch up if somebody wants it split." Patch by Keith Bauer. llvm-svn: 39796
-
Chris Lattner authored
llvm-svn: 39795
-
Chris Lattner authored
I've added a tests/CodeGen directory, and a test for this case that used to fail and now passes." Patch by Keith Bauer llvm-svn: 39794
-
Chris Lattner authored
Keith Bauer. llvm-svn: 39793
-
- Jul 12, 2007
-
-
Chris Lattner authored
Benoit Boissinot! llvm-svn: 39780
-
Chris Lattner authored
llvm-svn: 39771
-
Chris Lattner authored
llvm-svn: 39765
-
- Jul 11, 2007
-
-
Chris Lattner authored
Not having this prevented promoting float arguments to double when passed into printf, for example. llvm-svn: 39727
-
- Jul 10, 2007
-
-
Chris Lattner authored
float4 test(void); float test2() { return test()[1]; } llvm-svn: 39725
-
Chris Lattner authored
llvm-svn: 39724
-
Chris Lattner authored
llvm-svn: 39721
-
Chris Lattner authored
I expected :) llvm-svn: 39720
-
Chris Lattner authored
llvm-svn: 39718
-
- Jun 29, 2007
-
-
Chris Lattner authored
llvm-svn: 39713
-
Chris Lattner authored
llvm-svn: 39712
-
Chris Lattner authored
llvm-svn: 39711
-
Chris Lattner authored
codegen support for +=. llvm-svn: 39710
-
- Jun 27, 2007
-
-
Chris Lattner authored
llvm-svn: 39694
-
Chris Lattner authored
llvm-svn: 39693
-
- Jun 23, 2007
-
-
Chris Lattner authored
llvm-svn: 39674
-
- Jun 22, 2007
-
-
Chris Lattner authored
of complex. We now produce optimal code for: void test(_Complex float *Y) { *Y = *Y + *Y; } $ clang -emit-llvm cg.c | llvm-as | opt -std-compile-opts | llc -march=x86-64 ... _test: movss (%rdi), %xmm0 addss %xmm0, %xmm0 movss 4(%rdi), %xmm1 movss %xmm0, (%rdi) addss %xmm1, %xmm1 movss %xmm1, 4(%rdi) ret llvm-svn: 39673
-
Chris Lattner authored
types. llvm-svn: 39672
-
Chris Lattner authored
llvm-svn: 39671
-
Chris Lattner authored
llvm-svn: 39670
-
Chris Lattner authored
void test(int A, _Complex float Y) { _Complex float X; X = X; } llvm-svn: 39669
-
Chris Lattner authored
llvm-svn: 39668
-
Chris Lattner authored
llvm-svn: 39667
-
- Jun 20, 2007
-
-
Chris Lattner authored
One major FIXME though. llvm-svn: 39666
-
Chris Lattner authored
llvm-svn: 39665
-
Chris Lattner authored
llvm-svn: 39664
-
Chris Lattner authored
int X, bar(int,int,int); short Y; double foo() { return bar(X, Y, 3); } into: @X = external global i32 ; <i32*> [#uses=1] @Y = external global i16 ; <i16*> [#uses=1] define double @foo() { entry: %tmp = load i32* @X ; <i32> [#uses=1] %tmp1 = load i16* @Y ; <i16> [#uses=1] %promote = sext i16 %tmp1 to i32 ; <i32> [#uses=1] %call = tail call i32 @bar( i32 %tmp, i32 %promote, i32 3 ) ; <i32> [#uses=1] %conv = sitofp i32 %call to double ; <double> [#uses=1] ret double %conv } declare i32 @bar(i32, i32, i32) llvm-svn: 39663
-
- Jun 16, 2007
-
-
Chris Lattner authored
and globals. llvm-svn: 39661
-
Chris Lattner authored
is ready. llvm-svn: 39660
-
Chris Lattner authored
out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
-