commit | 0d1abb33e6671c8d4fbfdab0b47fa8f1cd07c4e3 | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Mon Oct 30 20:20:16 2017 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Mon Oct 30 20:20:16 2017 +0000 |
tree | 092c2d85619a29081150c461254d4bdebab40249 | |
parent | b2d41e210a209a9e1ac1f0747ad121e393e0b669 [diff] |
[NewGVN] Stop assuming PHI args ordering when looking at phi-of-ops. It's not guaranteed. There's a bug open to sort them in predecessor order, but it won't happen anytime soon. In the meanwhile, passes will have to do an O(#preds) scan. Such is life. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316953 91177308-0d34-0410-b5e6-96231b3b80d8