apply divergence analysis for replicating local variables
This commit is contained in:
parent
e99205aa8b
commit
ed51e5af91
|
@ -343,6 +343,9 @@ void handle_local_variable_intra_warp(std::vector<ParallelRegion> PRs,
|
|||
allStoreNonDivergence = false;
|
||||
break;
|
||||
}
|
||||
} else if (!isa<LoadInst>(user)) {
|
||||
allStoreNonDivergence = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (allStoreNonDivergence) {
|
||||
|
|
Loading…
Reference in New Issue