Tolerate degenerate phi nodes that can occur in the middle of optimization
authorNick Lewycky <nicholas@mxc.ca>
Thu, 10 Feb 2011 23:54:10 +0000 (23:54 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 10 Feb 2011 23:54:10 +0000 (23:54 +0000)
commit3b739d278c87f8ac22b5dc368b319fa278347b2f
tree38d264e0e347f1b60ba4ab886858726ece2b6cd0
parent2c2b933037ecd5a0ebcfa3077606892802c04a29
Tolerate degenerate phi nodes that can occur in the middle of optimization
passes. Fixes PR9112. Patch by Jakub Staszak!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125319 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/JumpThreading/degenerate-phi.ll [new file with mode: 0644]