- Jan 04, 2010
-
-
David Greene authored
Change errs() to dbgs(). llvm-svn: 92498
-
Douglas Gregor authored
definitions from a precompiled header. This ensures that code-completion with macro names behaves the same with or without precompiled headers. llvm-svn: 92497
-
David Greene authored
Change errs() to dbgs(). llvm-svn: 92496
-
Chris Lattner authored
when doing this transform if the GEP is not inbounds. No testcase because it is very difficult to trigger this: instcombine already canonicalizes GEP indices to pointer size, so it relies specific permutations of the instcombine worklist. Thanks to Duncan for pointing this possible problem out. llvm-svn: 92495
-
Chris Lattner authored
llvm-svn: 92494
-
Daniel Dunbar authored
llvm-svn: 92493
-
Dan Gohman authored
llvm-svn: 92492
-
Daniel Dunbar authored
llvm-svn: 92491
-
David Greene authored
Change errs() to dbgs(). llvm-svn: 92490
-
Douglas Gregor authored
interface, suggest correction of typos. For example, given: @interface NSString @end @implementation NSstring @end we'll warn with: t.m:4:19: warning: cannot find interface declaration for 'NSstring'; did you mean 'NSString'? @implementation NSstring ^ However, since this is just a warning, we don't provide a fix-it hint. Good idea, Ted! llvm-svn: 92488
-
Anton Korobeynikov authored
llvm-svn: 92472
-
Chris Lattner authored
llvm-svn: 92471
-
Mikhail Glushenkov authored
llvm-svn: 92470
-
Chris Lattner authored
llvm-svn: 92469
-
Chris Lattner authored
file. InstructionCombining.cpp is now down to a svelte 9300 lines :) llvm-svn: 92468
-
Chris Lattner authored
a new InstCombineCompares.cpp file. llvm-svn: 92467
-
Chris Lattner authored
llvm-svn: 92466
-
Chris Lattner authored
move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K lines out of instcombine.cpp llvm-svn: 92465
-
Mikhail Glushenkov authored
Also trailing whitespace & 80-col violations. llvm-svn: 92464
-
Chris Lattner authored
among the instcombine library. llvm-svn: 92463
-
Chris Lattner authored
llvm-svn: 92462
-
Chris Lattner authored
llvm-svn: 92461
-
Chris Lattner authored
llvm-svn: 92460
-
Chris Lattner authored
llvm-svn: 92459
-
Chris Lattner authored
on the example in PR4216. This doesn't trigger in the testsuite, so I'd really appreciate someone scrutinizing the logic for correctness. llvm-svn: 92458
-
- Jan 03, 2010
-
-
Chris Lattner authored
two labels as a truncate. llvm-svn: 92455
-
Benjamin Kramer authored
llvm-svn: 92453
-
Chris Lattner authored
returned null, and may not have been big enough in any case. Thanks to Jay Foad for pointing this out! llvm-svn: 92452
-
Chris Lattner authored
llvm-svn: 92451
-
Chris Lattner authored
global variable initializer to require relocations. llvm-svn: 92450
-
Douglas Gregor authored
constructs: - Instance variable lookup ("foo->ivar" and, in instance methods, "ivar") - Property name lookup ("foo.prop") - Superclasses - Various places where a class name is required - Protocol names (e.g., id<proto>) This seems to cover many of the common places where typos could occur. llvm-svn: 92449
-
Chris Lattner authored
llvm-svn: 92446
-
Nick Lewycky authored
functionality change. llvm-svn: 92445
-
Chris Lattner authored
arrays of structs and other arrays, so long as all the subsequent indexes are constants. This triggers frequently for stuff like: @divisions = internal constant [29 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] [i32 0, i32 1], [2 x i32] [i32 0, i32 2], [2 x i32] [i32 0, i32 1], [2 x i32] zeroinitializer, [2 x i32] [i32 0, i32 1], [2 x i32] [i32 0, i32 1], [2 x i32] [i32 0, i32 2], [2 x i32] [i32 0, i32 2], [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] [i32 0, i32 2], [2 x i32] [i32 0, i32 1], [2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 0], [2 x i32] [i32 1, i32 1], [2 x i32] [i32 1, i32 1], [2 x i32] [i32 1, i32 2], [2 x i32] [i32 1, i32 1], [2 x i32] [i32 1, i32 0], [2 x i32] [i32 1, i32 2], [2 x i32] [i32 1, i32 2], [2 x i32] [i32 1, i32 0], [2 x i32] [i32 1, i32 0], [2 x i32] [i32 1, i32 0], [2 x i32] [i32 1, i32 1], [2 x i32] [i32 1, i32 2], [2 x i32] [i32 1, i32 2]], align 32 ; <[29 x [2 x i32]]*> [#uses=50] %623 = getelementptr inbounds [29 x [2 x i32]]* @divisions, i64 0, i64 %619, i64 0 ; <i32*> [#uses=1] %684 = icmp eq i32 %683, 999 also for the "my_defs" table in 'gs', etc. llvm-svn: 92444
-
Eli Friedman authored
llvm-svn: 92441
-
Eli Friedman authored
llvm-svn: 92440
-
Eli Friedman authored
llvm-svn: 92439
-
Nick Lewycky authored
llvm-svn: 92436
-
Eli Friedman authored
llvm-svn: 92435
-
Eli Friedman authored
coverage. llvm-svn: 92433
-