[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jun 29 17:37:01 PDT 2003
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.103 -> 1.104
---
Log message:
Fix minor bug in previous checkin
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.103 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.104
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.103 Sun Jun 29 15:27:45 2003
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Sun Jun 29 17:36:31 2003
@@ -406,9 +406,7 @@
// Ok, we are getting desperate now. Check for physical subtyping, where we
// just require each element in the node to be compatible.
- assert(NewTySize <= SubTypeSize &&
- "Expected smaller type merging into this one!");
- if (NewTySize && NewTySize < 256 &&
+ if (NewTySize <= SubTypeSize && NewTySize && NewTySize < 256 &&
SubTypeSize && SubTypeSize < 256 &&
ElementTypesAreCompatible(NewTy, SubType))
return false;
More information about the llvm-commits
mailing list