have instcombine preserve nsw/nuw/exact when sinking
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 23:01:49 +0000 (23:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 23:01:49 +0000 (23:01 +0000)
commitc8cb8ef9c2d5e354db661022d707a19b3533c00e
treeac1ea1d3cb2fa68360973a61ed2ce00728cb5f36
parent0db841f9c2b9a25fb5ecb36e350d3a802c35654c
have instcombine preserve nsw/nuw/exact when sinking
common operations through a phi.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125790 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombinePHI.cpp
test/Transforms/InstCombine/phi.ll