commit | f60715c2c0a2398822a143ffb6b75507bffca703 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu May 07 15:53:41 2015 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Thu May 07 15:53:41 2015 +0100 |
tree | dce90cb2315e0463ca1e15a577cd6892f96e4c12 | |
parent | f07f71f9af8f56e738ef0451c60734ec6022d08e [diff] |
Quick: Fix DCE to rename SSA regs for degenerate Phis. If we're inserting a new Phi and all its inputs are the same SSA reg (for example, we allow a single-input Phi), some subsequent insn may actually refer to that reg, so we need to rename it to keep the graph in a consistent state. Change-Id: Ic6a1907c3138f4a7d3b13f9e58e9107ca2d92f17