projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff0f48
)
rs6000: skip debug info statements
author
Martin Liska
<mliska@suse.cz>
Thu, 11 Jun 2020 09:24:20 +0000
(11:24 +0200)
committer
Martin Liska
<mliska@suse.cz>
Thu, 11 Jun 2020 12:51:15 +0000
(14:51 +0200)
gcc/ChangeLog:
PR target/95627
* config/rs6000/rs6000.c (rs6000_density_test): Skip debug
statements.
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index 0bbd06ad1dede9227c19ed1f98fbcb29a2095d0f..00daf979856b20e05246de19780332a297d83a8c 100644
(file)
--- a/
gcc/config/rs6000/rs6000.c
+++ b/
gcc/config/rs6000/rs6000.c
@@
-4987,6
+4987,9
@@
rs6000_density_test (rs6000_cost_data *data)
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
{
gimple *stmt = gsi_stmt (gsi);
+ if (is_gimple_debug (stmt))
+ continue;
+
stmt_vec_info stmt_info = loop_vinfo->lookup_stmt (stmt);
if (!STMT_VINFO_RELEVANT_P (stmt_info)