Teach jump threading to look at comparisons between phi nodes and non-constants.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 19 Jun 2009 04:56:29 +0000 (04:56 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 19 Jun 2009 04:56:29 +0000 (04:56 +0000)
commit9683f181746c2312c8828c79b6e25a07fb441d57
tree810ee1aed2b80f25b3c097f7ebeddf7d9f0b3672
parentaace4b1a2c6504c6451fdf7ab841de2afbdf0017
Teach jump threading to look at comparisons between phi nodes and non-constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/branch-no-const.ll [new file with mode: 0644]