diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-04 23:11:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:05:29 -0700 |
| commit | 549265119d65c943eba01800dde888a4e308b7b7 (patch) | |
| tree | 9ad33237c02d8f834203c83e7ca86d69f3bdb5b1 /memops.c | |
| parent | d88ba07266f7068111a4305f31733b37ab2ce283 (diff) | |
| download | sparse-dev-549265119d65c943eba01800dde888a4e308b7b7.tar.gz | |
Oops. The "entry instruction" changes missed the check for the
entry basic block in memop dominators.
This caused the dominator finding to totally misjudge a lot of
non-local loads as having no dominators (or thinking they were
being completely dominated by a store that just updated them).
Diffstat (limited to 'memops.c')
| -rw-r--r-- | memops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ static int find_dominating_parents(pseudo_t pseudo, struct instruction *insn, * The entrypoint is special - it dominates all non-local * pseudos, but no local ones. */ - if (bb == bb->ep->entry) + if (bb == bb->ep->entry->bb) return !!local; if (bb_list_size(bb->parents) > 1) |
