Skip to content
Extraits de code Groupes Projets
Valider aa3bfd61 rédigé par Thomas DILASSER's avatar Thomas DILASSER
Parcourir les fichiers

bug fix graph

parent fced334a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -13,6 +13,7 @@ void write_mpi_code(function * fun) ...@@ -13,6 +13,7 @@ void write_mpi_code(function * fun)
mpi_collective_code *current_enum = (mpi_collective_code*)xmalloc(sizeof (mpi_collective_code)); mpi_collective_code *current_enum = (mpi_collective_code*)xmalloc(sizeof (mpi_collective_code));
*current_enum = get_mpi_code(stmt); *current_enum = get_mpi_code(stmt);
//printf("current_enum : %i\n",*((int*)current_enum));
if (*current_enum != LAST_AND_UNUSED_MPI_COLLECTIVE_CODE) if (*current_enum != LAST_AND_UNUSED_MPI_COLLECTIVE_CODE)
{ {
edit_aux_value(bb,(int*)current_enum); edit_aux_value(bb,(int*)current_enum);
......
...@@ -104,7 +104,9 @@ class split_count_pass : public gimple_opt_pass ...@@ -104,7 +104,9 @@ class split_count_pass : public gimple_opt_pass
//split bb where we find several MPI calls //split bb where we find several MPI calls
split_mpi_block(fun); split_mpi_block(fun);
//writing corresponding MPI Call in corresponding basic block //writing corresponding MPI Call in corresponding basic block
edit_all_aux_value(fun,(int*)NULL);
write_mpi_code(fun); write_mpi_code(fun);
//print_bb_aux(fun);
/* Skip system header functions */ /* Skip system header functions */
if ( !in_system_header_at( fun->function_start_locus ) ) if ( !in_system_header_at( fun->function_start_locus ) )
cfgviz_dump( fun, function_name(fun), 1 ) ; cfgviz_dump( fun, function_name(fun), 1 ) ;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter