diff options
author | Chris Lattner <sabre@nondot.org> | 2003-03-03 17:13:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-03-03 17:13:31 +0000 |
commit | 088b639e3a168686f16bb292e08b952d01a25b7d (patch) | |
tree | 0bc187f257c2f84051d80698c27b25e0aeae26ba /lib/Analysis/DataStructure/Local.cpp | |
parent | af68ccefebc81752706fc9d2e0177c98f098463a (diff) |
Don't apply type information to load instructions if it will cause collapsing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index ffc80e73a6..005580155d 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -368,7 +368,7 @@ void GraphBuilder::visitLoadInst(LoadInst &LI) { Ptr.getNode()->NodeType |= DSNode::Read; // Ensure a typerecord exists... - Ptr.getNode()->mergeTypeInfo(LI.getType(), Ptr.getOffset()); + Ptr.getNode()->mergeTypeInfo(LI.getType(), Ptr.getOffset(), false); if (isPointerType(LI.getType())) setDestTo(LI, getLink(Ptr)); |