- Nov 10, 2009
-
-
Chris Lattner authored
llvm-svn: 86672
-
Mike Stump authored
being generated. Add the most derived vtable pointer to the VTT. llvm-svn: 86671
-
Chris Lattner authored
of a computation. This fixes some infinite loops when dealing with TD that has no native types. llvm-svn: 86670
-
John McCall authored
This is a pretty minimal test case; I'll make a better one later. llvm-svn: 86669
-
Nick Lewycky authored
llvm-svn: 86668
-
Nick Lewycky authored
memory just like a store" with bug fixed (partial-overwrite.ll is the regression test). llvm-svn: 86667
-
Chris Lattner authored
llvm-svn: 86666
-
Anders Carlsson authored
When trying to assign a regular string literal to an Objective-C 'id' type or a pointer to an NSString, emit a code insertion hint that turns it into an Objective-C string. For example: @class NSString; @interface Test + (void)test:(NSString *)string; @end void g(NSString *a); void f() { NSString *a = "Foo"; g("Foo"); [Test test:"Foo"]; } will produce t.m:10:17: warning: incompatible pointer types initializing 'char [4]', expected 'NSString *' NSString *a = "Foo"; ^~~~~ @ t.m:11:5: warning: incompatible pointer types passing 'char [4]', expected 'NSString *' g("Foo"); ^~~~~ @ t.m:12:14: warning: incompatible pointer types sending 'char [4]', expected 'NSString *' [Test test:"Foo"]; ^~~~~ @ 3 diagnostics generated. llvm-svn: 86665
-
Anders Carlsson authored
llvm-svn: 86664
-
Zhongxing Xu authored
llvm-svn: 86663
-
Zhongxing Xu authored
llvm-svn: 86662
-
Anders Carlsson authored
llvm-svn: 86661
-
Zhongxing Xu authored
the argument is not an expression. llvm-svn: 86660
-
Anders Carlsson authored
If a function with a default argument is redefined and the new function also has a defualt argument then add a fixit hint that removes the default argument. Fixes PR5444. llvm-svn: 86659
-
Anders Carlsson authored
llvm-svn: 86658
-
Zhongxing Xu authored
llvm-svn: 86657
-
Oscar Fuentes authored
llvm-svn: 86656
-
Daniel Dunbar authored
llvm-svn: 86655
-
Daniel Dunbar authored
llvm-svn: 86654
-
Daniel Dunbar authored
llvm-svn: 86653
-
Zhongxing Xu authored
region, so that arithmetic within a memory chunk is allowed. llvm-svn: 86652
-
Bruno Cardoso Lopes authored
llvm-svn: 86651
-
Mike Stump authored
Start implementing VTTs. WIP. llvm-svn: 86650
-
Zhongxing Xu authored
getBaseRegion will be used in another method. llvm-svn: 86649
-
Chris Lattner authored
llvm-svn: 86648
-
Mike Stump authored
llvm-svn: 86647
-
Chris Lattner authored
just one level deep. On the testcase we go from getting this: F1: ; preds = %T2 %F = and i1 true, %cond ; <i1> [#uses=1] br i1 %F, label %X, label %Y to a fully threaded: F1: ; preds = %T2 br label %Y This changes gets us to the point where we're forming (too many) switch instructions on doug's strswitch testcase. llvm-svn: 86646
-
Chris Lattner authored
llvm-svn: 86645
-
Oscar Fuentes authored
releases. llvm-svn: 86644
-
Mike Stump authored
llvm-svn: 86643
-
Dan Gohman authored
llvm-svn: 86642
-
Dan Gohman authored
llvm-svn: 86641
-
Dan Gohman authored
llvm-svn: 86640
-
Chris Lattner authored
llvm-svn: 86639
-
Jeffrey Yasskin authored
Patch by Victor Zverovich! llvm-svn: 86638
-
Chris Lattner authored
except that the result may not be a constant. Switch jump threading to use it so that it gets things like (X & 0) -> 0, which occur when phi preds are deleted and the remaining phi pred was a zero. llvm-svn: 86637
-
Jeffrey Yasskin authored
This patch forbids implicit conversion of DenseMap::const_iterator to DenseMap::iterator which was possible because DenseMapIterator inherited (publicly) from DenseMapConstIterator. Conversion the other way around is now allowed as one may expect. The template DenseMapConstIterator is removed and the template parameter IsConst which specifies whether the iterator is constant is added to DenseMapIterator. Actually IsConst parameter is not necessary since the constness can be determined from KeyT but this is not relevant to the fix and can be addressed later. Patch by Victor Zverovich! llvm-svn: 86636
-
Chris Lattner authored
llvm-svn: 86635
-
David Goodwin authored
llvm-svn: 86634
-
Daniel Dunbar authored
llvm-svn: 86633
-