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:
6b15604
)
Clear killing defs when resetting the path in path_oracle.
author
Andrew MacLeod
<amacleod@redhat.com>
Wed, 23 Feb 2022 17:25:20 +0000
(12:25 -0500)
committer
Andrew MacLeod
<amacleod@redhat.com>
Fri, 13 May 2022 13:49:14 +0000
(09:49 -0400)
When we reset the path oracle, we should clear the killing defs vector.
* value-relation.cc (path_oracle::reset_path): Clear killing_defs.
gcc/value-relation.cc
patch
|
blob
|
history
diff --git
a/gcc/value-relation.cc
b/gcc/value-relation.cc
index
077ab42
..
db2db33
100644
(file)
--- a/
gcc/value-relation.cc
+++ b/
gcc/value-relation.cc
@@
-1459,6
+1459,7
@@
path_oracle::reset_path ()
bitmap_clear (m_equiv.m_names);
m_relations.m_head = NULL;
bitmap_clear (m_relations.m_names);
+ bitmap_clear (m_killed_defs);
}
// Dump relation in basic block... Do nothing here.