Handle extra Tail predecessors in if-conversion.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 13 Aug 2012 20:49:04 +0000 (20:49 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 13 Aug 2012 20:49:04 +0000 (20:49 +0000)
commitbc70ff3cb977fd69e120d89b0e04f316d87cdbef
tree0fede6c992792ca0cd0d49926ec4731d9d964f7d
parentd252aa43c91027f3f6234c06c7a05c498d73a954
Handle extra Tail predecessors in if-conversion.

It is still possible to if-convert if the tail block has extra
predecessors, but the tail phis must be rewritten instead of being
removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161781 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/EarlyIfConversion.cpp
test/CodeGen/X86/early-ifcvt.ll