mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Rose: allow direct reports to be aliased
This commit is contained in:
parent
6294b8a89b
commit
31dea6c275
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, Intel Corporation
|
* Copyright (c) 2015-2016, Intel Corporation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
@ -347,13 +347,7 @@ bool isAliasingCandidate(RoseVertex v, const RoseBuildImpl &tbi) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 id = *props.literals.begin();
|
assert(*props.literals.begin() != MO_INVALID_IDX);
|
||||||
assert(id != MO_INVALID_IDX);
|
|
||||||
|
|
||||||
// Ignore direct reports.
|
|
||||||
if (tbi.isDirectReport(id)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Any vertex involved in a "ghost" relationship has already been disallowed
|
// Any vertex involved in a "ghost" relationship has already been disallowed
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user