mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 14:36:34 +00:00
Fix minor bug in previous checkin
llvm-svn: 6986
This commit is contained in:
parent
9229da84be
commit
9cb6f34b81
@ -406,9 +406,7 @@ bool DSNode::mergeTypeInfo(const Type *NewTy, unsigned Offset,
|
||||
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user