commit | 604c6e4764edb2fd244e9f47626868cda5644a7a | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Sep 17 12:08:44 2014 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Sep 17 12:08:44 2014 +0100 |
tree | 20ce0beae7663fe8ca0a07132ecd55c7c2626d41 | |
parent | 7d029af44c45c56b3b7a271c54434c2dcec1e219 [diff] |
Ensure the first predecessor of a loop is the pre header. Note that the check in ssa_phi_elimination.cc was very defensive: it does not affect the outcome of the algorithm whether the loop phi takes itself as the first input. It makes things consistent to always have the pre header as first input. Change-Id: Ic86248c1f38af67f7432782f6deefae1f4bf1ab6