#
8bc169c3 |
| 27-Feb-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Teach BasicAA about the LLVM IR rules that allow reading past the end of an object given sufficient alignment. Fixes PR12098.
llvm-svn: 151553
|
#
3f885b65 |
| 25-Feb-2012 |
Nick Lewycky <nicholas@mxc.ca> |
Move isKnownNonNull from private implementation detail of BasicAA to a public function that others can use, next to llvm::isIdentifiedObject.
llvm-svn: 151446
|
#
9017b846 |
| 17-Feb-2012 |
Dan Gohman <gohman@apple.com> |
Remove a comment about an alternative approach that wouldn't actually work, at least as described. LLVM Metadata is not intended to suppress LLVM IR rules, as it can be stripped at any time.
llvm-sv
Remove a comment about an alternative approach that wouldn't actually work, at least as described. LLVM Metadata is not intended to suppress LLVM IR rules, as it can be stripped at any time.
llvm-svn: 150821
show more ...
|
#
612d70b1 |
| 20-Nov-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Refactor code to use new attribute getters on CallSite for NoCapture and ByVal. Suggested in code review by Eli.
That code in InstCombine looks kinda suspicious.
llvm-svn: 145013
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
1456cd20 |
| 06-Oct-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Remove the old atomic instrinsics. autoupgrade functionality is included with this patch.
llvm-svn: 141333
|
#
5f476dc3 |
| 28-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
PR10628: Fix getModRefInfo so it queries the underlying alias() implementation correctly while checking nocapture calls.
llvm-svn: 140666
|
#
b78ac543 |
| 08-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
A couple minor corrections to r139276.
llvm-svn: 139277
|
#
3d1b3076 |
| 08-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Fix the logic in BasicAliasAnalysis::aliasGEP for comparing GEP's with variable differences so that it actually does something sane. Fixes PR10881.
llvm-svn: 139276
|
#
f4f09f8c |
| 06-Sep-2011 |
Owen Anderson <resistor@mac.com> |
memset_pattern16 uses a 16 BYTE pattern, not a 16 BIT pattern. Add comments to that effect.
llvm-svn: 139205
|
#
653cb031 |
| 06-Sep-2011 |
Owen Anderson <resistor@mac.com> |
Teach BasicAA about the aliasing properties of memset_pattern16. Fixes PR10872 and <rdar://problem/10065079>.
llvm-svn: 139204
|
#
6381c010 |
| 27-Jul-2011 |
Jeffrey Yasskin <jyasskin@google.com> |
Explicitly cast narrowing conversions inside {}s that will become errors in C++0x.
llvm-svn: 136211
|
#
229907cd |
| 18-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
land David Blaikie's patch to de-constify Type, with a few tweaks.
llvm-svn: 135375
|
#
cc595487 |
| 10-Jun-2011 |
Dan Gohman <gohman@apple.com> |
Initialize BasicAA's AliasCache to set it to use fewer buckets by default, since it usually has very few elements. This speeds up alias queries in many cases, because AliasCache.clear() doesn't have
Initialize BasicAA's AliasCache to set it to use fewer buckets by default, since it usually has very few elements. This speeds up alias queries in many cases, because AliasCache.clear() doesn't have to visit as many buckets.
llvm-svn: 132862
show more ...
|
#
adf80ae9 |
| 04-Jun-2011 |
Dan Gohman <gohman@apple.com> |
Reapply r131781, now that the GVN bug with partially-aliasing loads is disabled.
llvm-svn: 132632
|
#
87fdceaf |
| 04-Jun-2011 |
Dan Gohman <gohman@apple.com> |
Revert r131781 again. Apparently there is more going on here.
llvm-svn: 132625
|
#
27b82f2f |
| 04-Jun-2011 |
Dan Gohman <gohman@apple.com> |
Reapply r131781 (revert r131809), now that some BasicAA shortcomings it exposed are fixed.
llvm-svn: 132611
|
#
fb02cec4 |
| 04-Jun-2011 |
Dan Gohman <gohman@apple.com> |
Fix BasicAA's recursion detection so that it doesn't pessimize queries in the case of a DAG, where a query reaches a node visited earlier, but it's not on a cycle. This avoids MayAlias results in cas
Fix BasicAA's recursion detection so that it doesn't pessimize queries in the case of a DAG, where a query reaches a node visited earlier, but it's not on a cycle. This avoids MayAlias results in cases where BasicAA is expected to return MustAlias or PartialAlias in order to protect TBAA.
llvm-svn: 132609
show more ...
|
#
4e7e7958 |
| 03-Jun-2011 |
Dan Gohman <gohman@apple.com> |
When merging MustAlias and PartialAlias, chose PartialAlias instead of conservatively choosing MayAlias.
llvm-svn: 132579
|
#
0573b55c |
| 24-May-2011 |
Dan Gohman <gohman@apple.com> |
Make DecomposeGEPExpression check SimplifyInstruction only after checking for a GEP, so that it matches what GetUnderlyingObject does. This fixes an obscure bug turned up by bugpoint in the testcase
Make DecomposeGEPExpression check SimplifyInstruction only after checking for a GEP, so that it matches what GetUnderlyingObject does. This fixes an obscure bug turned up by bugpoint in the testcase for PR9931.
llvm-svn: 131971
show more ...
|
#
026f5e61 |
| 23-May-2011 |
Chris Lattner <sabre@nondot.org> |
fix a really nasty basicaa mod/ref calculation bug that was causing miscompilation of UnitTests/ObjC/messages-2.m with the recent optimizer improvements.
llvm-svn: 131897
|
#
5ec65765 |
| 21-May-2011 |
Duncan Sands <baldrick@free.fr> |
Revert commit 131781, to see if it fixes the x86-64 dragonegg buildbot. Original log message: When BasicAA can determine that two pointers have the same base but differ by a dynamic offset, return Pa
Revert commit 131781, to see if it fixes the x86-64 dragonegg buildbot. Original log message: When BasicAA can determine that two pointers have the same base but differ by a dynamic offset, return PartialAlias instead of MayAlias. See the comment in the code for details. This fixes PR9971.
llvm-svn: 131809
show more ...
|
#
8b20187c |
| 21-May-2011 |
Dan Gohman <gohman@apple.com> |
When BasicAA can determine that two pointers have the same base but differ by a dynamic offset, return PartialAlias instead of MayAlias. See the comment in the code for details. This fixes PR9971.
l
When BasicAA can determine that two pointers have the same base but differ by a dynamic offset, return PartialAlias instead of MayAlias. See the comment in the code for details. This fixes PR9971.
llvm-svn: 131781
show more ...
|
#
5394c70d |
| 27-Apr-2011 |
Dan Gohman <gohman@apple.com> |
Teach BasicAA about arm.neon.vld1 and vst1.
llvm-svn: 130327
|
#
0ab5e2cd |
| 15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes!
llvm-svn: 129558
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2 |
|
#
c4f0ab39 |
| 23-Mar-2011 |
Anders Carlsson <andersca@mac.com> |
Revert r128140 for now.
llvm-svn: 128149
|