- Nov 06, 2009
-
-
Chris Lattner authored
llvm-svn: 86270
-
Devang Patel authored
llvm-svn: 86269
-
Anders Carlsson authored
Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually... llvm-svn: 86268
-
Chris Lattner authored
llvm-svn: 86267
-
Chris Lattner authored
llvm-svn: 86266
-
John McCall authored
a typo pointed out by Fariborz. llvm-svn: 86265
-
Chris Lattner authored
predicates. This allows us to jump thread things like: _ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119: %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0 ; <i1> [#uses=1] %tmp4.i90 = icmp eq i32 %tmp2.i, 6 ; <i1> [#uses=1] %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90 ; <i1> [#uses=1] br i1 %or.cond173, label %bb4.i96, label %_ZN12... Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always false. This triggers a surprisingly high number of times in the testsuite, and gets us closer to generating good code for doug's strswitch testcase. This also make a bunch of other code in jump threading redundant, I'll rip out in the next patch. This survived an enable-checking llvm-gcc bootstrap. llvm-svn: 86264
-
Chris Lattner authored
llvm-svn: 86263
-
Dan Gohman authored
prints them with the leading '@'. llvm-svn: 86261
-
Chris Lattner authored
llvm-svn: 86260
-
Devang Patel authored
llvm-svn: 86259
-
Chris Lattner authored
llvm-svn: 86256
-
Anders Carlsson authored
llvm-svn: 86254
-
Zhongxing Xu authored
llvm-svn: 86252
-
Daniel Dunbar authored
llvm-svn: 86251
-
John McCall authored
at it. llvm-svn: 86243
-
John McCall authored
* If the unsigned type is smaller than the signed type, never warn, because its value will not change when zero-extended to the larger type. * If we're testing for (in)equality, and the unsigned value is an integer constant whose sign bit is not set, never warn, because even though the signed value might change, it can't affect the result of the equality. Also make the comparison test cases much more rigorous, and have them expose the subtle differences between C and C++ here. llvm-svn: 86242
-
John McCall authored
by default in GCC. Users who want to emulate gcc's warning behavior exactly should be able to use CC="clang -Wno-non-gcc"; this should help projects to transition. llvm-svn: 86241
-
Chris Lattner authored
llvm-svn: 86240
-
Chris Lattner authored
llvm-svn: 86239
-
Douglas Gregor authored
get_origin->x where get_origin is actually a function and the user has forgotten the parentheses. Instead of giving a lame note for the fix-it, give a full-fledge error, early, then build the call expression to try to recover. llvm-svn: 86238
-
Chris Lattner authored
llvm-svn: 86235
-
Douglas Gregor authored
llvm-svn: 86234
-
Douglas Gregor authored
llvm-svn: 86233
-
Chris Lattner authored
from various APIs, addressing PR5325. llvm-svn: 86231
-
Anders Carlsson authored
If a member variable of reference type is bound to a temporary in its member initializer it needs to be destroyed at the end of the constructor. llvm-svn: 86230
-
Daniel Dunbar authored
llvm-svn: 86229
-
Daniel Dunbar authored
NewNightlyTest: Add -noclean option, which doesn't run 'make clean' before building LLVM (for testing). Also, switch to always running 'make clean' in the test-suite directories. llvm-svn: 86228
-
Daniel Dunbar authored
llvm-svn: 86227
-
Daniel Dunbar authored
llvm-svn: 86226
-
Anders Carlsson authored
llvm-svn: 86225
-
Anders Carlsson authored
llvm-svn: 86224
-
Anders Carlsson authored
llvm-svn: 86222
-
Anders Carlsson authored
llvm-svn: 86218
-
Mike Stump authored
class that is overridden in a base that isn't morally virtual. llvm-svn: 86217
-
Ted Kremenek authored
value into their own respective subclasses of Checker (and put them in .cpp files where their implementation details are hidden from GRExprEngine). llvm-svn: 86215
-
Victor Hernandez authored
llvm-svn: 86213
-
Devang Patel authored
llvm-svn: 86212
-
Douglas Gregor authored
class type, don't perform the array-to-pointer or function-to-pointer conversions, because we may end up binding a reference to a function or array. With this change, FileCheck now passes -fsyntax-only! llvm-svn: 86211
-
Douglas Gregor authored
implicit conversion sequence, check the validity of this conversion and then perform it. llvm-svn: 86210
-