- May 18, 2011
-
-
Eli Friedman authored
Start trying to make InstCombine preserve more debug info. The idea here is to set the debug location on the IRBuilder, which will be then right location in most cases. This should magically give many transformations debug locations, and fixing places which are missing a debug location will usually just means changing the code creating it to use the IRBuilder. As an example, the change to InstCombineCalls catches a common case where a call to a bitcast of a function is rewritten. Chris, does this approach look reasonable? llvm-svn: 131516
-
Eli Friedman authored
llvm-svn: 131512
-
Stuart Hastings authored
rdar://problem/6945110 llvm-svn: 131493
-
- Apr 13, 2011
-
-
Bill Wendling authored
llvm-svn: 129419
-
Bill Wendling authored
llvm-svn: 129403
-
Bill Wendling authored
Now that we have a first-class way to represent unaligned loads, the unaligned load intrinsics are superfluous. First part of <rdar://problem/8460511>. llvm-svn: 129401
-
- Mar 27, 2011
-
-
Benjamin Kramer authored
llvm-svn: 128380
-
- Mar 15, 2011
-
-
Eric Christopher authored
normal version. Fixes rdar://9123638 llvm-svn: 127636
-
- Mar 10, 2011
-
-
Benjamin Kramer authored
This happens a lot in clang-compiled C++ code because it adds overflow checks to operator new[]: unsigned *foo(unsigned n) { return new unsigned[n]; } We can optimize away the overflow check on 64 bit targets because (uint64_t)n*4 cannot overflow. llvm-svn: 127418
-
- Feb 24, 2011
-
-
Chris Lattner authored
function prototype into a call to a varargs prototype. We do allow the xform if we have a definition, but otherwise we don't want to risk that we're changing the abi in a subtle way. On X86-64, for example, varargs require passing stuff in %al. llvm-svn: 126363
-
- Jan 10, 2011
-
-
Chandler Carruth authored
intrinsics element dependencies. Reviewed by Nick. llvm-svn: 123161
-
- Jan 07, 2011
-
-
Benjamin Kramer authored
llvm-svn: 123030
-
- Jan 06, 2011
-
-
Benjamin Kramer authored
This happens when we take the (non-constant) length from a malloc. llvm-svn: 122961
-
Benjamin Kramer authored
InstCombine: If we call llvm.objectsize on a malloc call we can replace it with the size passed to malloc. llvm-svn: 122959
-
Benjamin Kramer authored
llvm-svn: 122958
-
- Dec 25, 2010
-
-
Chris Lattner authored
llvm-svn: 122556
-
Chris Lattner authored
llvm-svn: 122554
-
- Dec 20, 2010
-
-
Chris Lattner authored
llvm-svn: 122238
-
Chris Lattner authored
llvm-svn: 122237
-
Mon P Wang authored
llvm-svn: 122215
-
- Dec 19, 2010
-
-
Chris Lattner authored
llvm-svn: 122183
-
Chris Lattner authored
result is dead. This is required for my next patch to not regress the testsuite. llvm-svn: 122181
-
- Oct 22, 2010
-
-
Bob Wilson authored
llvm-svn: 117154
-
- Oct 01, 2010
-
-
Chris Lattner authored
llvm-svn: 115296
-
- Aug 09, 2010
-
-
Eli Friedman authored
it doesn't regress again. llvm-svn: 110597
-
- Aug 03, 2010
-
-
Dan Gohman authored
around std::min vs static const friction. llvm-svn: 110112
-
- Jul 30, 2010
-
-
Dan Gohman authored
llvm-svn: 109891
-
- Jul 28, 2010
-
-
Dan Gohman authored
alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. llvm-svn: 109643
-
Dan Gohman authored
dereference is theoretically infinite. Put a cap on the computed alignment to avoid overflow, noticed by John Regehr. llvm-svn: 109596
-
- Jul 22, 2010
-
-
Gabor Greif authored
llvm-svn: 109092
-
- Jul 16, 2010
-
-
Gabor Greif authored
llvm-svn: 108522
-
- Jun 30, 2010
-
-
Gabor Greif authored
llvm-svn: 107275
-
- Jun 28, 2010
-
-
Gabor Greif authored
llvm-svn: 107017
-
- Jun 25, 2010
-
-
Gabor Greif authored
llvm-svn: 106824
-
- Jun 24, 2010
-
-
Gabor Greif authored
llvm-svn: 106750
-
Gabor Greif authored
llvm-svn: 106744
-
Gabor Greif authored
llvm-svn: 106743
-
Gabor Greif authored
llvm-svn: 106740
-
- May 27, 2010
-
-
Duncan Sands authored
to null. Patch by Matti Niemenmaa. llvm-svn: 104871
-
- Apr 28, 2010
-
-
Chris Lattner authored
to not increase the alignment of globals with an assigned alignment and section. llvm-svn: 102476
-