When checking aliases between phi sources and V2, we know the sources are not themsel...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Oct 2009 00:33:09 +0000 (00:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Oct 2009 00:33:09 +0000 (00:33 +0000)
commita846a8a1dcb8ab28e75e364c0cf0272634d023f2
treeab977402622992b2fac1c11e172682250e408103
parent934f98b5368c10a77599dab7dd6ec969c8b2f385
When checking aliases between phi sources and V2, we know the sources are not themselves phi nodes. However, V2 may be. Call aliasCheck with V2 first to potentially eliminate a std::swap call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp