commit | ea02a028001597ec77893c04d83525f02278092f | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Wed Jun 14 19:29:53 2017 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Wed Jun 14 19:29:53 2017 +0000 |
tree | 3ccd6f13991e6d0b9d257ae00d07458c886f7f2e | |
parent | e49b209a9ec53e967eeef11cdd26c1021308b9a0 [diff] |
[EarlyCSE] Make PhiToCheck in removeMSSA() a set. This way we end up not looking at PHI args already removed. MemSSA now goes through the updater so we can prune it to avoid having redundant MemoryPHI arguments, but that doesn't quite work for the general case. Discussed with Daniel Berlin, fixes PR33406. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305409 91177308-0d34-0410-b5e6-96231b3b80d8