From 31dea6c2759973d61ea7f354e5749d872e113250 Mon Sep 17 00:00:00 2001 From: Justin Viiret Date: Tue, 16 Feb 2016 09:29:07 +1100 Subject: [PATCH] Rose: allow direct reports to be aliased --- src/rose/rose_build_role_aliasing.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/rose/rose_build_role_aliasing.cpp b/src/rose/rose_build_role_aliasing.cpp index 57bbc550..1f873403 100644 --- a/src/rose/rose_build_role_aliasing.cpp +++ b/src/rose/rose_build_role_aliasing.cpp @@ -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 * modification, are permitted provided that the following conditions are met: @@ -347,13 +347,7 @@ bool isAliasingCandidate(RoseVertex v, const RoseBuildImpl &tbi) { return false; } - u32 id = *props.literals.begin(); - assert(id != MO_INVALID_IDX); - - // Ignore direct reports. - if (tbi.isDirectReport(id)) { - return false; - } + assert(*props.literals.begin() != MO_INVALID_IDX); // Any vertex involved in a "ghost" relationship has already been disallowed