commit | f143b79b78d1d244809fa59320f2af2edf4e1a86 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Tue Oct 04 03:50:44 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Tue Oct 04 03:50:44 2011 +0000 |
tree | d98851fb9036648d18eeb33137346849071a4847 | |
parent | 2aeb8027d649320d5ad3a30d9bbeb71c783b50d4 [diff] |
LSR should avoid redundant edge splitting. This handles the case in which LSR rewrites an IV user that is a phi and splits critical edges originating from a switch. Fixes <rdar://problem/6453893> LSR is not splitting edges "nicely" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141059 91177308-0d34-0410-b5e6-96231b3b80d8