projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d658721
)
Ignore clobbers in modref
author
Jan Hubicka
<jh@suse.cz>
Tue, 22 Sep 2020 20:36:01 +0000
(22:36 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Tue, 22 Sep 2020 20:36:01 +0000
(22:36 +0200)
* ipa-modref.c (analyze_stmt): Ignore gimple clobber.
gcc/ipa-modref.c
patch
|
blob
|
history
diff --git
a/gcc/ipa-modref.c
b/gcc/ipa-modref.c
index
d195354
..
fe277d8
100644
(file)
--- a/
gcc/ipa-modref.c
+++ b/
gcc/ipa-modref.c
@@
-552,6
+552,9
@@
analyze_store (gimple *, tree, tree op, void *data)
static bool
analyze_stmt (modref_summary *summary, gimple *stmt, bool ipa)
{
+ /* There is no need to record clobbers. */
+ if (gimple_clobber_p (stmt))
+ return false;
/* Analyze all loads and stores in STMT. */
walk_stmt_load_store_ops (stmt, summary,
analyze_load, analyze_store);