diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-24 18:29:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:46 -0700 |
| commit | b200a9a69e704c24761d0c8b06198e33dbf8ab6a (patch) | |
| tree | abc03f14331513866abaedaf765c98db5b05d93e /flow.c | |
| parent | 6e82297e7242122397b6aa37a3c4580f45fa416d (diff) | |
| download | sparse-dev-b200a9a69e704c24761d0c8b06198e33dbf8ab6a.tar.gz | |
Oops. Forgot to add usage of a dominator list pseudo.
This made the phi-source CSE generate garbage, since the information
wasn't updated in the phi list of the user.
Move use_pseudo() to header file, since flow wants to use it too now.
Diffstat (limited to 'flow.c')
| -rw-r--r-- | flow.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ found_dominator: br = delete_last_instruction(&parent->insns); phi = alloc_phi(parent, one->target); add_instruction(&parent->insns, br); - add_pseudo(dominators, phi); + use_pseudo(phi, add_pseudo(dominators, phi)); } END_FOR_EACH_PTR(parent); return 1; } |
