rs6000: skip debug info statements
gcc/ChangeLog: PR target/95627 * config/rs6000/rs6000.c (rs6000_density_test): Skip debug statements.
This commit is contained in:
parent
2ff0f48819
commit
444035eafa
|
@ -4987,6 +4987,9 @@ rs6000_density_test (rs6000_cost_data *data)
|
||||||
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
|
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
|
||||||
{
|
{
|
||||||
gimple *stmt = gsi_stmt (gsi);
|
gimple *stmt = gsi_stmt (gsi);
|
||||||
|
if (is_gimple_debug (stmt))
|
||||||
|
continue;
|
||||||
|
|
||||||
stmt_vec_info stmt_info = loop_vinfo->lookup_stmt (stmt);
|
stmt_vec_info stmt_info = loop_vinfo->lookup_stmt (stmt);
|
||||||
|
|
||||||
if (!STMT_VINFO_RELEVANT_P (stmt_info)
|
if (!STMT_VINFO_RELEVANT_P (stmt_info)
|
||||||
|
|
Loading…
Reference in New Issue