Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a new...
authorFrits van Bommel <fvbommel@gmail.com>
Tue, 11 Jan 2011 12:52:11 +0000 (12:52 +0000)
committerFrits van Bommel <fvbommel@gmail.com>
Tue, 11 Jan 2011 12:52:11 +0000 (12:52 +0000)
commit65fdded3197461232d8428af7ddd0107e4a9f946
tree9af47880131164022b38fdedc5adbc383ab5229f
parent19823b19baaaa7638e4e69d7e1342dfee0ef9f2f
Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a new helper function so it can be reused in e.g. an upcoming SimplifySwitchOnSelect.
No functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123234 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp