Don't apply type information to loads
authorChris Lattner <sabre@nondot.org>
Mon, 3 Mar 2003 17:13:22 +0000 (17:13 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Mar 2003 17:13:22 +0000 (17:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5683 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSNode.h
include/llvm/Analysis/DataStructure/DSNode.h

index ce7f53be6b55a1d73de0c13593b12d9fc065299b..5d4fc742675f881cce516222867fc203c08561ef 100644 (file)
@@ -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
index ce7f53be6b55a1d73de0c13593b12d9fc065299b..5d4fc742675f881cce516222867fc203c08561ef 100644 (file)
@@ -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