- Dec 05, 2011
-
-
Chad Rosier authored
where this would be bad as the backend shouldn't have a problem inlining small memcpys. rdar://10510150 llvm-svn: 145865
-
Nadav Rotem authored
Add support for vectors of pointers. llvm-svn: 145801
-
- Dec 03, 2011
-
-
Pete Cooper authored
Fixed deadstoreelimination bug where negative indices were incorrectly causing the optimisation to occur Turns out long long + unsigned long long is unsigned. Doh! Fixes http://llvm.org/bugs/show_bug.cgi?id=11455 llvm-svn: 145731
-
- Dec 02, 2011
-
-
Chad Rosier authored
Add FIXMEs to places that are non-trivial to fix. llvm-svn: 145661
-
- Dec 01, 2011
-
-
Chad Rosier authored
where it appeared beneficial to pass. More of rdar://10500969 llvm-svn: 145630
-
Chad Rosier authored
InstructionSimplify.cpp. Other fixups as needed. Part of rdar://10500969 llvm-svn: 145559
-
- Nov 30, 2011
-
-
Eli Friedman authored
Make GlobalMerge honor the preferred alignment on globals without an explicitly specified alignment. <rdar://problem/10497732>. llvm-svn: 145523
-
- Nov 29, 2011
-
-
Stepan Dyatkovskiy authored
Potential bug in RewriteLoopBodyWithConditionConstant: use iterator should not be changed inside the uses enumeration loop. llvm-svn: 145432
-
Daniel Dunbar authored
llvm-svn: 145420
-
Andrew Trick authored
This reverts r139450, fixes r139453, and adds much needed comments and a unit test. llvm-svn: 145367
-
- Nov 28, 2011
-
-
Andrew Trick authored
SCEV should now be used for trip count analysis, not LoopInfo. llvm-svn: 145262
-
- Nov 27, 2011
-
-
Benjamin Kramer authored
llvm-svn: 145154
-
- Nov 20, 2011
-
-
Nick Lewycky authored
Suggested in code review by Eli. That code in InstCombine looks kinda suspicious. llvm-svn: 145013
-
- Nov 17, 2011
-
-
Eli Friedman authored
Add support for custom names for library functions in TargetLibraryInfo. Add a custom name for fwrite and fputs on x86-32 OSX. Make SimplifyLibCalls honor the custom names for fwrite and fputs. Fixes <rdar://problem/9815881>. llvm-svn: 144876
-
- Nov 16, 2011
-
-
Nick Lewycky authored
looking at the size of the pointee. Fixes PR11390! llvm-svn: 144773
-
- Nov 15, 2011
-
-
Nadav Rotem authored
llvm-svn: 144721
-
Benjamin Kramer authored
llvm-svn: 144675
-
- Nov 12, 2011
-
-
Eli Friedman authored
llvm-svn: 144442
-
- Nov 11, 2011
-
-
Eli Friedman authored
Get rid of an optimization in SCCP which appears to have many issues. Specifically, it doesn't handle many cases involving undef correctly, and it is missing other checks which lead to it trying to re-mark a value marked as a constant with a different value. It also appears to trigger very rarely. Fixes PR11357. llvm-svn: 144352
-
- Nov 10, 2011
-
-
Pete Cooper authored
Size of data being pointed to wasn't always being checked so some small writes were killing big writes Fixes <rdar://problem/10426753> llvm-svn: 144312
-
Pete Cooper authored
Currently checks alignment and killing stores on a power of 2 boundary as this is likely to trim the size of the earlier store without breaking large vector stores into scalar ones. Fixes <rdar://problem/10140300> llvm-svn: 144239
-
- Nov 08, 2011
-
-
Pete Cooper authored
LICM pass now understands invariant load metadata. Nothing generates this yet so it will currently never get used in real tests llvm-svn: 144107
-
- Nov 05, 2011
-
-
Nick Lewycky authored
llvm-svn: 143808
-
- Nov 04, 2011
-
-
Daniel Dunbar authored
the end of it is dead.", which appears to break bootstrapping LLVM. llvm-svn: 143668
-
- Nov 03, 2011
-
-
Daniel Dunbar authored
llvm-svn: 143634
-
Pete Cooper authored
Only currently done if the later store is writing to a power of 2 address or has the same alignment as the earlier store as then its likely to not break up large stores into smaller ones Fixes <rdar://problem/10140300> llvm-svn: 143630
-
- Nov 02, 2011
-
-
Andrew Trick authored
We've been hitting asserts in this code due to the many supported combintions of modes (iv-rewrite/no-iv-rewrite) and IV types. This second rewrite of the code attempts to deal with these cases systematically. llvm-svn: 143546
-
Chandler Carruth authored
silence -Wparentheses. llvm-svn: 143534
-
Andrew Trick authored
Narrowest possible fix for PR11279. llvm-svn: 143522
-
- Oct 29, 2011
-
-
Benjamin Kramer authored
SimplifyLibCalls: Use IRBuilder.CreateGlobalString when creating a string for printf->puts, which correctly sets the unnamed_addr bit on the resulting GlobalVariable. Fixes PR11264. llvm-svn: 143289
-
- Oct 28, 2011
-
-
Andrew Trick authored
Fixes rdar://10359193 Indvar LinearFunctionTestReplace assertion llvm-svn: 143183
-
- Oct 27, 2011
-
-
Eli Friedman authored
It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't do that. <rdar://problem/10352360> llvm-svn: 143093
-
- Oct 23, 2011
-
-
Cameron Zwarich authored
element types, even though the element extraction code does. It is surprising that this bug has been here for so long. Fixes <rdar://problem/10318778>. llvm-svn: 142740
-
- Oct 22, 2011
-
-
Nick Lewycky authored
elimination on them too. llvm-svn: 142735
-
- Oct 20, 2011
-
-
Devang Patel authored
Patch by Pranav Bhandarkar! llvm-svn: 142556
-
- Oct 18, 2011
-
-
Dan Gohman authored
tag on objc_retainBlock calls, which indicates that they may be optimized away. rdar://10211286. llvm-svn: 142298
-
- Oct 17, 2011
-
-
Dan Gohman authored
possibility that it will span multiple CFG diamonds/triangles which could have different controlling predicates. rdar://10282956 llvm-svn: 142222
-
Bill Wendling authored
Some code want to check that *any* call within a function has the 'returns twice' attribute, not just that the current function has one. llvm-svn: 142221
-
Bill Wendling authored
obsolete. Check the attribute instead. <rdar://problem/8031714> llvm-svn: 142212
-
Michael J. Spencer authored
llvm-svn: 142204
-