- Aug 16, 2011
-
-
Bill Wendling authored
llvm-svn: 137712
-
Eli Friedman authored
llvm-svn: 137664
-
- Jul 25, 2011
-
-
Jay Foad authored
llvm-svn: 135904
-
- Jul 22, 2011
- Jul 18, 2011
-
-
Chris Lattner authored
llvm-svn: 135375
-
- May 27, 2011
-
-
Eli Friedman authored
Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. llvm-svn: 132167
-
- May 19, 2011
-
-
Eli Friedman authored
llvm-svn: 131604
-
- Mar 30, 2011
-
-
Jay Foad authored
PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537
-
- Mar 14, 2011
-
-
Jin-Gu Kang authored
Early CSE pass so this patch reverts it to original source code. llvm-svn: 127574
-
- Mar 13, 2011
-
-
Jin-Gu Kang authored
load and store reference same memory location, the memory location is represented by getelementptr with two uses (load and store) and the getelementptr's base is alloca with single use. At this point, instructions from alloca to store can be removed. (this pattern is generated when bitfield is accessed.) For example, %u = alloca %struct.test, align 4 ; [#uses=1] %0 = getelementptr inbounds %struct.test* %u, i32 0, i32 0;[#uses=2] %1 = load i8* %0, align 4 ; [#uses=1] %2 = and i8 %1, -16 ; [#uses=1] %3 = or i8 %2, 5 ; [#uses=1] store i8 %3, i8* %0, align 4 llvm-svn: 127565
-
- Mar 12, 2011
-
-
Jin-Gu Kang authored
llvm-svn: 127539
-
- Mar 08, 2011
-
-
Devang Patel authored
llvm-svn: 127282
-
- Feb 15, 2011
-
-
Duncan Sands authored
llvm-svn: 125563
-
- Dec 25, 2010
-
-
Chris Lattner authored
llvm-svn: 122554
-
- Oct 25, 2010
-
-
Dan Gohman authored
from stores when folding in bitcasts. llvm-svn: 117265
-
- Aug 31, 2010
-
-
Owen Anderson authored
Remove r111665, which implemented store-narrowing in InstCombine. Chris discovered a miscompilation in it, and it's not easily fixable at the optimizer level. I'll investigate reimplementing it in DAGCombine. llvm-svn: 112575
-
- Aug 20, 2010
-
-
Owen Anderson authored
llvm-svn: 111665
-
Owen Anderson authored
llvm-svn: 111571
-
Owen Anderson authored
When a set of bitmask operations, typically from a bitfield initialization, only modifies the low bytes of a value, we can narrow the store to only over-write the affected bytes. llvm-svn: 111568
-
- Aug 03, 2010
-
-
Dan Gohman authored
instructions with alignment 0, so that subsequent passes don't need to bother checking the TargetData ABI size manually. llvm-svn: 110128
-
- Jul 22, 2010
-
-
Gabor Greif authored
llvm-svn: 109103
-
- Jul 12, 2010
-
-
Gabor Greif authored
llvm-svn: 108150
-
- Jul 09, 2010
-
-
Gabor Greif authored
llvm-svn: 107962
-
- May 28, 2010
-
-
Dan Gohman authored
lib/Transforms/Utils and into lib/Analysis so that Analysis passes can use them. llvm-svn: 104949
-
Dan Gohman authored
llvm-svn: 104945
-
- Feb 16, 2010
-
-
Duncan Sands authored
and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344
-
- Feb 15, 2010
-
-
Duncan Sands authored
isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223
-
- Jan 30, 2010
-
-
Bob Wilson authored
unconditionally. Besides checking the offset, also check that the underlying object is aligned as much as the load itself. llvm-svn: 94875
-
Bob Wilson authored
llvm-svn: 94863
-
- Jan 29, 2010
-
-
Bob Wilson authored
create a testcase where this matters. The select+load transformation only occurs when isSafeToLoadUnconditionally is true, and in those situations, instcombine also changes the underlying objects to be aligned. This seems like a good idea regardless, and I've verified that it doesn't pessimize the subsequent realignment. llvm-svn: 94850
-
Bob Wilson authored
indices are safe if the result is known to be within the bounds of the underlying object. llvm-svn: 94829
-
- Jan 22, 2010
-
-
Victor Hernandez authored
llvm-svn: 94194
-
Victor Hernandez authored
llvm-svn: 94112
-
- Jan 19, 2010
-
-
Eric Christopher authored
llvm-svn: 93831
-
- Jan 05, 2010
-
-
Chris Lattner authored
llvm-svn: 92685
-