aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-03-03 17:13:22 +0000
committerChris Lattner <sabre@nondot.org>2003-03-03 17:13:22 +0000
commitaf68ccefebc81752706fc9d2e0177c98f098463a (patch)
tree0a12beecbf75ab4ec881ada30f73874378f2276d
parentff2d556bab95f32c81a5d1fbf3061d521547ac0a (diff)
Don't apply type information to loads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5683 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DSNode.h3
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DSNode.h b/include/llvm/Analysis/DSNode.h
index ce7f53be6b..5d4fc74267 100644
--- a/include/llvm/Analysis/DSNode.h
+++ b/include/llvm/Analysis/DSNode.h
@@ -181,7 +181,8 @@ public:
/// This method returns true if the node is completely folded, otherwise
/// false.
///
- bool mergeTypeInfo(const Type *Ty, unsigned Offset);
+ bool mergeTypeInfo(const Type *Ty, unsigned Offset,
+ bool FoldIfIncompatible = true);
/// foldNodeCompletely - If we determine that this node has some funny
/// behavior happening to it that we cannot represent, we fold it down to a
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index ce7f53be6b..5d4fc74267 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -181,7 +181,8 @@ public:
/// This method returns true if the node is completely folded, otherwise
/// false.
///
- bool mergeTypeInfo(const Type *Ty, unsigned Offset);
+ bool mergeTypeInfo(const Type *Ty, unsigned Offset,
+ bool FoldIfIncompatible = true);
/// foldNodeCompletely - If we determine that this node has some funny
/// behavior happening to it that we cannot represent, we fold it down to a