diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-07 14:08:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:05:35 -0700 |
commit | 2d8d9bda591831a9d0acc478f7d3b8fa35032b6e (patch) | |
tree | 3d14bcc9b65c1f94ad0036d45668ba9f89801862 /simplify.c | |
parent | Don't output code for static/toplevel symbols. (diff) | |
download | sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.tar.gz sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.tar.bz2 sparse-2d8d9bda591831a9d0acc478f7d3b8fa35032b6e.zip |
Make OP_PHISOURCE track the OP_PHI instructions that it defines.
This allows us to always see which pseudos are nonlocally affected
by the phi source.
We can only do this after the instruction flow is fixed, together
with the OP_DEATHNOTE phase.
Diffstat (limited to 'simplify.c')
-rw-r--r-- | simplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -662,7 +662,7 @@ int simplify_instruction(struct instruction *insn) } return clean_up_phi(insn); case OP_PHISOURCE: - if (dead_insn(insn, &insn->src1, NULL, NULL)) + if (dead_insn(insn, &insn->phi_src, NULL, NULL)) return REPEAT_CSE; break; case OP_SEL: |